-
Check for env[Grape::Env::GRAPE_ROUTING_ARGS] instead of endpoint.route · 892ff3a3Rémy Coutable authored
`endpoint.route` is calling `env[Grape::Env::GRAPE_ROUTING_ARGS][:route_info]` but `env[Grape::Env::GRAPE_ROUTING_ARGS]` is `nil` in the case of a 405 response Signed-off-by: Rémy Coutable <remy@rymai.me>
×