Home

lodestone edited this page Sep 13, 2010 · 2 revisions
Clone this wiki locally

Sparks

Sparks is a rails plugin for handling static file content in your app.

To install:

script/plugin install git@github.com:lodestone/sparks.git

=====

  1. script/generate sparks
  2. add this line as the last route in config/routes.rb:
    map.spark '*:sparkpath', :controller => 'sparks', :action => 'file'

How to use