lib/page_navigation/routes.rb in page_navigation-0.1 vs lib/page_navigation/routes.rb in page_navigation-0.2
- old
+ new
@@ -1,7 +1,10 @@
module PageNavigation
module Routes
- attr_accessor :routes
+
+ def routes
+ @routes
+ end
def routes=(routes)
raise("You must provide a :default route") unless routes[:default]
@routes = routes
end