Forum: Ruby on Rails helper_method

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
4673fc544f019d10f3162022e1c07c90?d=identicon&s=25 Erik Svensson (stonebreaker)
on 2007-07-10 16:40

I hade to move some functions, as is_admin? etc into applcation.rb
instead of the applicationhelper and give it helper_method :is_admin?.
Is there a function for the other way so in my helper say that it's a
normal function for the controllers aswell?

Kind regards
This topic is locked and can not be replied to.