[Rails] Re: custom js in rails project
thanks for answer (so fast!)
now I have this in the layout file:
<%= stylesheet_link_tag 'application', :media => "all" %>
<%= javascript_include_tag 'application', :media => "all" %>
<%= csrf_meta_tags %>
also tryied:
<%= stylesheet_link_tag 'application', :media => "all" %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
and in application file:
//= require jquery
//= require jquery_ujs
//= require_tree .
this time all is correct? :)
I saw the source code of the generated page, and there are all the css
and js, and something like the dropdown nav works, but the slide not...
thanks a lot!
--
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 https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home