Get rid of cattr_accessor
This commit is contained in:
parent
d6a740e2db
commit
3315d899d6
@ -33,7 +33,14 @@ module Rails
|
|||||||
|
|
||||||
class RouteRedrawer
|
class RouteRedrawer
|
||||||
attr_accessor :routes
|
attr_accessor :routes
|
||||||
cattr_accessor :stack
|
|
||||||
|
def self.stack
|
||||||
|
@stack
|
||||||
|
end
|
||||||
|
|
||||||
|
def self.stack=(val)
|
||||||
|
@stack = val
|
||||||
|
end
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@routes = []
|
@routes = []
|
||||||
|
Loading…
Reference in New Issue
Block a user