display static menu on all pages

You are here:
Estimated reading time: < 1 min

create menu usng the following

/app/views/home/_header.html.erb
1 <%= link_to ‘Home’, root_path %>
2 <%= link_to ‘About Us’, home_about_path %>


then do the following in application.html.erb (line 10-11)

Was this article helpful?
Dislike 0