Permalink
Browse files

Add features, fix bugs

  • Loading branch information...
1 parent 4833180 commit ac16807621fbdceae8c9595eca5ff51165aaaf0c @dolzenko committed Mar 25, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 lib/rack/static_fallback.rb
View
@@ -7,7 +7,7 @@ and have user uploaded content fetched transparently from production site.
Options:
:mode - [ :off,
:bounce, # returns 404 to any request to static URL,
- :fallback ] # any request to static URL is redirected to options[:fallback_static_url]
+ :fallback ] # any request to static path is redirected to :fallback_static_url
:static_path_regex - Regexp which matches the path to your static files.
Along the lines of the Capistrano conventions defaults to `%r{/system/(audios|photos|videos)}`
:fallback_static_url - URL of the production site
@@ -8,7 +8,7 @@ module Rack
# Options:
# :mode - [ :off,
# :bounce, # returns 404 to any request to static URL,
- # :fallback ] # any request to static URL is redirected to options[:fallback_static_url]
+ # :fallback ] # any request to static path is redirected to :fallback_static_url
# :static_path_regex - Regexp which matches the path to your static files.
# Along the lines of the Capistrano conventions defaults to `%r{/system/(audios|photos|videos)}`
# :fallback_static_url - URL of the production site

0 comments on commit ac16807

Please sign in to comment.