Nowaker / 3 years, 2 months ago | Download | Plain text |

1
2
3
4
5
6
7
8
/Users/nowaker/.rvm/gems/ruby-3.0.0/gems/actionpack-6.0.3.6/lib/action_dispatch/routing/mapper.rb:93:in `check_via': You should not use the `match` method in your router without specifying an HTTP method. (ArgumentError)
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"
	from /Users/nowaker/.rvm/gems/ruby-3.0.0/gems/actionpack-6.0.3.6/lib/action_dispatch/routing/mapper.rb:1877:in `map_match'
	from /Users/nowaker/.rvm/gems/ruby-3.0.0/gems/actionpack-6.0.3.6/lib/action_dispatch/routing/mapper.rb:1633:in `match'
	from /Users/nowaker/project/config/routes.rb:78:in `block (3 levels) in <top (required)>'