Methods
- S
Constants
| RFC2616 | = | %w(OPTIONS GET HEAD POST PUT DELETE TRACE CONNECT) |
| RFC2518 | = | %w(PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK) |
| RFC3253 | = | %w(VERSION-CONTROL REPORT CHECKOUT CHECKIN UNCHECKOUT MKWORKSPACE UPDATE LABEL MERGE BASELINE-CONTROL MKACTIVITY) |
| RFC3648 | = | %w(ORDERPATCH) |
| RFC3744 | = | %w(ACL) |
| RFC5323 | = | %w(SEARCH) |
| RFC4791 | = | %w(MKCALENDAR) |
| RFC5789 | = | %w(PATCH) |
Attributes
| [R] | app |
Instance Public methods
setup()
Link
# File actionpack/test/dispatch/routing_test.rb, line 3945 def setup s = self routes = ActionDispatch::Routing::RouteSet.new @app = RoutedRackApp.new routes routes.draw do (RFC2616 + RFC2518 + RFC3253 + RFC3648 + RFC3744 + RFC5323 + RFC4791 + RFC5789).each do |method| match '/' => s.simple_app(method), :via => method.underscore.to_sym end end end