forked from rpheath/navigation_helper
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.rb
More file actions
22 lines (15 loc) · 746 Bytes
/
install.rb
File metadata and controls
22 lines (15 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
message = <<-MESSAGE
*********************************************************************************
Don't forget to add named routes that match the sections passed into
the navigation helper.
Example:
<%= navigation [:home, :about, :contact_me] -%>
# doing the above would require these named routes to exist:
# routes.rb
home_path # map.home '...', :controller => '...', :action => '...'
about_path # map.about '...', :controller => '...', :action => '...'
contact_me_path # map.contact_me '...', :controller => '...', :action => '...'
Enjoy!
*********************************************************************************
MESSAGE
puts message