On Feb 27, 5:10 pm, ben wiseley <[email protected]> wrote:
> Just put it in a helper and include that helper in ApplicationController
> like this
>
> include MyHelperWithGlobalStuffInIt
>
You're right, putting

include ApplicationHelper

into application_controller.rb does the trick.

But wasn't that what

helper :all # include all helpers, all the time

was supposed to do?

Or do I misunderstand?

-- 
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