Module: NavigationHelpers::Refinery::RailsApplicationRoot
- Defined in:
- lib/generators/templates/features/support/paths.rb
Instance Method Summary collapse
Instance Method Details
#path_to(page_name) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/generators/templates/features/support/paths.rb', line 5 def path_to(page_name) # Replace the nil below with the commented code to use this. nil #case page_name #when /the root path/ # root_path #else # nil #end end |