I'm facing an issue with my js.erb files.
When I want to use some named routes inside my js.erb files (placed in
undefined method `search_url' for #<Module:0x101df43bf>
How could I use my named route in my js.erb files?
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.