Permalink
Browse files

Remove obsolete reader from AC::MethodNotAllowed exception class

  • Loading branch information...
1 parent c3d482f commit 891392a1641e953d851ebc67378d15c4dcddf474 @avakhov avakhov committed Mar 30, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 actionpack/lib/action_controller/metal/exceptions.rb
View
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 891392a

Please sign in to comment.