Skip to content

Commit

Permalink
Rewrite query params
Browse files Browse the repository at this point in the history
  • Loading branch information
javan committed Oct 27, 2014
1 parent 14316d8 commit 5a0eb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ map '/' do
run environment.sprockets_environment
use Rack::Rewrite do
rewrite '/', '/demo.html'
rewrite '/test', 'test.html'
rewrite /\/test((\?.*)|$)/, 'test.html$1'
end
end

Expand Down

0 comments on commit 5a0eb37

Please sign in to comment.