How to get access to url_helpers, such as <name>_path or _<name>_url, in
a separate class? In application it simple:
But how to get access to url_helpers in Engine? When I use
Rails.application.routes.url_helpers.root_path, then I get '/', root of
Application. Other helpers for Engine aren't not defined. Also
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@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.