Skip to content

Instantly share code, notes, and snippets.

@rtomayko
Created November 11, 2008 01:32
Show Gist options
  • 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