in the header of my layout I use the following helper
<%= javascript_include_tag 'accordion.js', 'application.js' %>
but I get an error when running
Processing ApplicationController#index (for 127.0.0.1 at 2009-08-22
23:18:47) [GET]
Parameters: {"1249998180"=>nil}
ActionController::RoutingError (No route matches "/javascripts/
accordion.js" with {:method=>:get}):
my javascript file is in public/javascripts/accordion.js
seems that the helper is not generating tehe correct path w /public/
javascripts/accordion.js
is it right ?
thanks fyi
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---