Get rid of cattr_accessor
This commit is contained in:
parent
d6a740e2db
commit
3315d899d6
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user