Bundled CSS and Javascript assets plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://svn.artweb-design.de/stuff/rails/bundled_assets
Add the following route to your routes setup:
map.connect 'bundles/:names.:ext', :controller => 'assets_bundle', :action => 'fetch', :ext => /css|js/, :names => /[^.]*/
This will collect the Javascript files common.js and forms.js, combine them into one, optionally compact and then cache the result:
<%= javascript_include_tag 'common,forms' %>
For more information on the usage/options see the plugin's homepage linked above.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (5 older versions) | Last edited by: scott, 12 months ago

