RubyGems Navigation menu

sinatra-rroute 0.1.0

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.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 0.1.0 June 13, 2014 (14KB)
  2. 0.0.1 May 26, 2014 (12.5KB)

Development依存関係 (2):

bundler ~> 1.6
rake >= 0

所有者:

作者:

  • nounch

SHA 256チェックサム:

=

累計ダウンロード数 6,038

このバージョンのみ 3,533

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: