Hey, I'm trying as a test to make a simple wiki with RoR. I wanted to
use restful_authentication plugin, which creates a couple controllers,
one of which is the Sessions controller. It has all the 'logged_in?'
checks and the 'current_user' variable. However, I don't know how to use
another controller's variables/methods from within another controller.
Ie, in my Wiki controller, or in it's views, I can't make these sort of
calls to make sure the user is logged in. Can anyone guide me in the
right direction?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to