From 891392a1641e953d851ebc67378d15c4dcddf474 Mon Sep 17 00:00:00 2001
From: Alexey Vakhov <vakhov@gmail.com>
Date: Sat, 31 Mar 2012 00:44:27 +0400
Subject: Remove obsolete reader from AC::MethodNotAllowed exception class

---
 actionpack/lib/action_controller/metal/exceptions.rb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/actionpack/lib/action_controller/metal/exceptions.rb b/actionpack/lib/action_controller/metal/exceptions.rb
index 505b2ac609..9a9db0fe5f 100644
--- a/actionpack/lib/action_controller/metal/exceptions.rb
+++ b/actionpack/lib/action_controller/metal/exceptions.rb
@@ -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
-- 
cgit v1.2.3