ACTS_AS_AUTHENTICATED in Views

Hi all,

i am trying to access some acts_as_authenticated methods in my layout,
but it appears to melfunction.

“include AuthenticationSystem” was added to the application_controller.

any help?

Questions like this are useless without the details. Which methods?
How are you trying to access them?

On Apr 11, 7:37 am, Elad M. [email protected]

Hi,

AuthenticatedSystem mixed in controller methods is protected,
however, you may use the following ugly hack to work around that:

eg. @controller.send(:current_user)

  • Lourens