Rails 3.1 asset precompilation - include all javascript files -
Specifically, the default matcher In short, any way to request this is found in .js does not connect the files to
the vendor / property / javascript to compile the files. I can simply add the property to the
config.assets.precompile list, but it seems annoying I do not want to refer them to the
application.js manifest because I want to Do not include them in all pages.
.js in the
seller / assets / javascript files
config.assets.precompile accepts regular expressions and wildcard matches - In order to ensure that all JS files are compiled without specifying each by the name, something like this should be done:
config.assets.precompile & Lt; & Lt; '* .js'
Comments
Post a Comment