Hi Petan,
instead of using is_logged_in?.
give a try for logged_in? method.
still problem then define method is_logged_in? method in application_helper
def is_logged_in?
session[:user]
end
I hope this will work.
-Sandip R~
On Fri, Jun 5, 2009 at 3:13 PM, Petan Cert <[email protected]
> wrote:
>
> Hi Sandip,
>
> I've tried to moved all the stuff from login_system.rb to
> application.rb, but it is still the same.
>
> Is there a another way to solve this trouble?
> Thanks.
>
> P.
>
>
> Sandip Ransing wrote:
> > Library methods are not accessible in view.
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--
Ruby on Rails Developer
http://sandip.sosblog.com
http://funonrails.wordpress.com
www.joshsoftware.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
-~----------~----~----~----~------~----~------~--~---