Changeset [89b2743b0a6b84ed340b5cccc46b2dde2acd44d6] by James Adam
Revision 89b2743b0a6b84ed340b5cccc46b2dde2acd44d6,
committed by James Adam
· January 4th, 2010 @ 01:56 PM
Use a static file middleware that will pass through to the
application if the file does not exist. This is based on the
Rails::Rack::Static middleware from Rails 3. Making this change
will enable serving files from any path (not just under 'public',
and allow creation of files such as robots.txt.
http://github.com/lazyatom/vanilla-rb/commit/89b2743b0a6b84ed340b5c...
5 changed files
-
A
lib/vanilla/static.rb -
M
Rakefile -
M
config.ru -
M
lib/vanilla/snips/system.rb -
M
vanilla.gemspec