T_P wrote:
> how do I access them in controllers and views? :-/
They are available in views already.
For a method to be available both in controllers and views, define it as
a method in the ApplicationController instead:
private
def my_helper(foo)
return "#{foo}!!"
end
helper_method :my_helper
--
Posted via http://www.ruby-forum.com/.