Permalink
Browse files

Merge pull request #5674 from avakhov/ac-exception-remove-obsolete-me…

…mber

Remove obsolete reader from AC::MethodNotAllowed exception class
  • Loading branch information...
2 parents 25f1d5d + 891392a commit fde48f75ae95aa002f32a798ca33b3f9a5c25bf4 @spastorino spastorino committed Mar 31, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 actionpack/lib/action_controller/metal/exceptions.rb
@@ -14,8 +14,6 @@ def initialize(message, failures=[])
end
class MethodNotAllowed < ActionControllerError #:nodoc:
- attr_reader :allowed_methods
-
def initialize(*allowed_methods)
super("Only #{allowed_methods.to_sentence(:locale => :en)} requests are allowed.")
end

0 comments on commit fde48f7

Please sign in to comment.