Howto make "logged_in?" accessible to other controllers? aaa

Greetings,
I am new to act as autenticated and was wondering how i can check if the
user has been logged in from their account. i would like to do this so
i can show things a member can do in the main site (vote, comment, etc)

thanks!

Hi Sarah, if you would like logged_in? accessible to your other
controllers, you’ll need to add this method to your
application_controller.rb. Next, you’ll need to add a before_filter
that executes this method when one or more actions are invoked.

Good luck,

-Conrad

Hi Sarah, if you would like logged_in? accessible to your other
controllers, you’ll need to add this method to your
application_controller.rb. Next, you’ll need to add a before_filter
that executes this method when one or more actions are invoked.

Good luck,

-Conrad

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs