I have a route like the following:
post "/foo/next", FooController, :next_foo
When I access this URL directly from the browser, that will send a GET request, and I will correctly receive a client error code: 400 Bad Request.
However, on the server I see that the request is executed past the router anyway, and somewhere my application will throw an error in a controller because a POST param is missing. The error is found in
Why is the request still executed? It should not match with that route.