Skip to content

Instantly share code, notes, and snippets.

@rtomayko
Created November 11, 2008 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtomayko/23708 to your computer and use it in GitHub Desktop.
Save rtomayko/23708 to your computer and use it in GitHub Desktop.
before {
@env['PATH_INFO'].sub! /\/$/
}
get '/foo' do
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment