Add geolink class to login/logout referer links
[rails.git] / app / views / layouts / _header.html.erb
index 1f030862b6558e39717768f374249ff6900e8d4d..a2a63b406af9e017bd053937de60c679f4679dbf 100644 (file)
             <%= yield :greeting %>
           </li>
           <li>
-            <%= link_to t("layouts.logout"), logout_path(:session => session.id, :referer => request.fullpath) %>
+            <%= link_to t("layouts.logout"), logout_path(:session => session.id, :referer => request.fullpath), :class => "geolink" %>
           </li>
         </ul>
       </div>
     <% else %>
       <ul class="user-menu clearfix">
-        <li><%= link_to t("layouts.log_in"), login_path(:referer => request.fullpath) %></li>
+        <li><%= link_to t("layouts.log_in"), login_path(:referer => request.fullpath), :class => "geolink" %></li>
         <li><%= link_to t("layouts.sign_up"), user_new_path %></li>
       </ul>
     <% end %>