In rails 4.0.2, using match without :via will produce RuntimeError
/home/donny/.rvm/gems/ruby-2.0.0-p353@s5unity-spree/gems/actionpack-4.0.2/lib/action_dispatch/routing/mapper.rb:191:in `normalize_conditions!': You should not use the `match` method in your router without specifying an HTTP method. (RuntimeError)
If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.
If you want to expose your action to GET, use `get` in the router:
Instead of: match "controller#action"
Do: get "controller#action"
In rails 4.0.2, using match without :via will produce RuntimeError
Reference: http://guides.rubyonrails.org/routing.html#http-verb-constraints