title: Ruby on Rails highlight current link on navigation bar?
body: <p>Can anyone tell me how to highlight (with color) the current link on a navigation bar, using css? I don't want to use the controller option.
  Here is the code from shared/menu.html.erb:</p>
  
  <pre><code> &lt;div id = "navigation"&gt;
  
    &lt;ul&gt;
  
    &lt;li id="menu"&gt;&lt;%=link_to "Menu", menus_path, :class =&gt; "menunav"%&gt;&lt;/li&gt;
   &lt;li id="drink"&gt;&lt;%=link_to " Drinks", drinks_path, :class =&gt; "drinknav"%&gt; &lt;/li&gt;
  
   &lt;/ul&gt;
  
   &lt;/div&gt;
  </code></pre>