Categories: None [Edit]
sinatra-rroute
Sinatra-rraoute provides `gget'/`ppost'/`ddelete'/... methods which work
just like Sinatra's built-in `get'/`post'/`delete'/... methods, but which
map named routes to functions so that they can be referenced in redirects
etc.
The `path' helper will return a route for a certain route name and the
given values for this route and comes in handy in both, the
controller/model component of the application, and the view where you can
use it to render links, assets URLs, AJAX calls...
The nestable `nnamespace' method is useful for API versioning and does not
interfere with other namespace extensions for Sinatra.
Total
Ranking: 116,215 of 187,638
Downloads: 5,959
Daily
Ranking: 64,759 of 187,621
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | nounch |