Displaying 2 results from an estimated 2 matches for "nav_link".
Did you mean:
nav_links
2010 Oct 30
3
Authlogic not active
...e project but get the error;
Showing app/views/layouts/application.html.erb where line #33 raised:
undefined method `underscore'' for nil:NilClass
Extracted source (around line #33):
30: <div id="mainleft">
31: <ul class="menu">
32: <li><%= nav_link "Home", "site", "index" %></li>
33: <% if current_user %>
34: <li>The site</li>
35: <% else %>
36: <li><%= nav_link "Login", "authentications", "login"
%></li>...
2006 Jan 02
3
best to integrate dynamic navbar into layout
I''ve been trying to come up with a good way to integrate a dynamic
navbar into my layout. By dynamic, I meas that each link has 3 images.
Normal, rollover, and dark for the current page. I have it working but
it seems like there should be a better way. Here is how I did it,
please let me know if there is a better way. Rails makes so many things
simple, that this seems very