[Rails] Re: Moving js to vendor/assets/javascripts/ is not picked up
...well that is one way to do it:
http://www.mobalean.com/blog/2011/06/29/using-the-asset-pipeline-under-rails-3-1
But if you read the rails guide on the asset pipeline, they do it
differently:
http://ryanbigg.com/guides/asset_pipeline.html
and if the files are all in the right place, it looks like all you have
to do is add the following to your application's layout file:
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home