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
- Host: GitHub
- URL: https://github.com/joshbuddy/http_router_sinatra
- Owner: joshbuddy
- Created: 2011-03-21T08:05:56.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-03-21T08:27:40.000Z (over 15 years ago)
- Last Synced: 2024-05-14T11:06:41.561Z (about 2 years ago)
- Language: Ruby
- Homepage:
- Size: 87.9 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-sinatra - http_router_sinatra - Kick ass router for Sinatra based on http_router. (Routers)
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.