Changeset [89b2743b0a6b84ed340b5cccc46b2dde2acd44d6] 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...

Committed by James Adam

  • A lib/vanilla/static.rb
  • M Rakefile
  • M config.ru
  • M lib/vanilla/snips/system.rb
  • M vanilla.gemspec
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A sort of meta-wiki thing