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

Remove obsolete reader from AC::MethodNotAllowed exception class
This commit is contained in:
Santiago Pastorino 2012-03-31 05:07:31 -07:00
commit fde48f75ae
1 changed files with 0 additions and 2 deletions

View File

@ -14,8 +14,6 @@ module ActionController
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