From 3315d899d6ce1f3f21463704be34a8345cac0ef3 Mon Sep 17 00:00:00 2001 From: Jeremy McAnally Date: Sun, 31 Jan 2010 23:10:07 -0600 Subject: [PATCH] Get rid of cattr_accessor --- lib/routes_upgrader.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/routes_upgrader.rb b/lib/routes_upgrader.rb index b527238..acf2e6c 100644 --- a/lib/routes_upgrader.rb +++ b/lib/routes_upgrader.rb @@ -33,7 +33,14 @@ module Rails class RouteRedrawer attr_accessor :routes - cattr_accessor :stack + + def self.stack + @stack + end + + def self.stack=(val) + @stack = val + end def initialize @routes = []