Bundled Resource plugin

Plugin details

The bundled_resource plugin keeps all of your resources (javascripts, stylesheets, images) within the plugin’s directory structure and copies them in to the public folder whenever your app starts.

Websitehttp://blog.inquirylabs.com/2006/01/07/easy-resource-management-re-post/ Repositorysvn://syncid.textdriven.com/svn/opensource/bundled_resource/trunk Author Duane Johnson Tags asset, bundle LicenseUnknown

Documentation

Install the plugin:
ruby script/plugin install svn://syncid.textdriven.com/svn/opensource/bundled_resource/trunk

But what if it weren’t a pain? What if you could write this at the top of your page:

<% require_bundle :dynarch_calendar %>


And your dynarch calendar would just work? That’s what bundled_resource does. Now you can use this method:

dynarch_date_select 'post', 'publish_date'


anywhere on the page, and it’ll work. Easy :)

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, about 1 year ago