Displaying 1 result from an estimated 1 matches for "myjs".
Did you mean:
my_s
2012 Nov 21
0
What to use //= require_tree or js,css incude tag in application.erb ?
...include both .js and .css application file in application.erb .
Is including in application.erb, did all .js and .css file are
included in application.erb or not ?
If yes , than why we include each .js and .css one more time in
application.erb ?
Example
Assume that i make myjs.js and mycss.css and put them respectively in asset
folder.
##############application.erb######################
<%= stylesheet_link_tag "application", :media => "all" %>
<%= stylesheet_link_tag "mycss" %># is i have to include it her...