This commit allows calling +match+ with a
:via => :all option to explicitly match all verbs.
The :via => :all option was added to Rails 4 in
the process of deprecating +match+ (#5964). To
facilitate the migration to Rails 4, it would be
helpful to make this option available in Rails 3.