class ActionController::MethodNotAllowed

:nodoc:

def initialize(*allowed_methods)

:nodoc:
def initialize(*allowed_methods)
  super("Only #{allowed_methods.to_sentence} requests are allowed.")
end