An open API service indexing awesome lists of open source software.

https://github.com/joshbuddy/http_router_sinatra

Kick ass router for Sinatra based on http_router
https://github.com/joshbuddy/http_router_sinatra

Last synced: about 1 year ago
JSON representation

Kick ass router for Sinatra based on http_router

Awesome Lists containing this project

README

          

# 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.