module

ActionDispatch::Journey::Route::VerbMatchers

v5.0.0.1 - Show latest stable

No documentation available for this module.

Constants

VERBS = %w{ DELETE GET HEAD OPTIONS LINK PATCH POST PUT TRACE UNLINK }

VERB_TO_CLASS = VERBS.each_with_object({ :all => All }) do |verb, hash|\nklass = const_get verb\nhash[verb] = klass\nhash[verb.downcase] = klass\nhash[verb.downcase.to_sym] = klass\nend

Files

  • actionpack/lib/action_dispatch/journey/route.rb