Module: PageNavigation::Routes
- Defined in:
- lib/page_navigation/routes.rb
Instance Method Summary collapse
Instance Method Details
#route_data ⇒ Object
13 14 15 |
# File 'lib/page_navigation/routes.rb', line 13 def route_data @route_data end |
#route_data=(data) ⇒ Object
17 18 19 |
# File 'lib/page_navigation/routes.rb', line 17 def route_data=(data) @route_data = data end |
#routes ⇒ Object
4 5 6 |
# File 'lib/page_navigation/routes.rb', line 4 def routes @routes end |
#routes=(routes) ⇒ Object
8 9 10 11 |
# File 'lib/page_navigation/routes.rb', line 8 def routes=(routes) raise('You must provide a :default route') unless routes[:default] @routes = routes end |