Don't include all javascript files rails -


i created site , javascript , css files use on 1 site (they disturb functions on other sites), don't know how exclude files asset pipeline.

in asset javascript folder created new folder called paint contains javascript files don't want load on sites. on 1 specific site.

also created folder in assets stylesheetsy directory stylesheet need on specific site.

my application.js looks this:

//= require jquery //= require jquery_ujs //= require twitter/bootstrap //= require fancybox //= require_tree . //= require bootstrap-datepicker //= require_self  

i hope can me! thanks

remove line

//= require_tree . 

and require files need


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -