Send 405 response for ActionController::UnknownHttpMethod exceptions
Travis CI
Install
gem install http_method_not_allowed_middleware
Usage
require 'http_method_not_allowed_middleware'
Rails.application.config.middleware.instance_eval do
insert_before(0, HttpMethodNotAllowedMiddleware)
end
Authors
Ryan Clemente
kojiee@gmail.com
Adrian Bordinc
adrian.bordinc@gmail.com
License: MIT