Kick ass router for Sinatra based on http_router
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
http_router_sinatra.gemspec

README.md

HttpRouter for Sinatra

Usage

In your Sinatra app, register your extension

register HttpRouter::Sinatra::Extension

Then, add your routes normally. If you use the :name option when defining your route, you can later generate your route with the generate method.