]> projects.mako.cc - selectricity-live/blobdiff - app/views/layouts/main.rhtml
removed login information (a few people have found it)
[selectricity-live] / app / views / layouts / main.rhtml
index c34e797b6f60028658061777bfe2fad261e2f67e..106528db597c8c39ddc2b7253e4f353ae3d4cf44 100644 (file)
       <div id="top-bar">
            <div id="bar-left">
         <% if session[:user] %>
-          <%= link_to User.find(session[:user]).login.capitalize,
+          <%= link_to User.find(session[:user]).login.downcase,
                       :controller => "account",
                       :action => "summary", :id => session[:user][:id] %>
           <%= link_to "logout", :controller => "account",
                       :action => "logout" %> 
         <% else %>
           <%= link_to "login", :controller => "account", :action => "login" 
-          %>/<%= link_to "sign up", :controller => "account", :action => "signup" %>
+          %><!-- /<%= link_to "sign up", :controller => "account", :action => "signup" %>-->
         <% end %> 
         </div>
 

Benjamin Mako Hill || Want to submit a patch?