X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/5f51982916827b84d73bfa8f3a98a9ee1d48d3ce..62d55f6e7b7a956714166a5ed409368937218997:/app/views/layouts/hc.rhtml?ds=sidebyside
diff --git a/app/views/layouts/hc.rhtml b/app/views/layouts/hc.rhtml
index 860992a..13b2e72 100755
--- a/app/views/layouts/hc.rhtml
+++ b/app/views/layouts/hc.rhtml
@@ -17,14 +17,15 @@
<% if session[:user] %>
- Welcome <%= session[:user].login.capitalize %>
+<% breakpoint %>
+ Welcome <%= User.find(session[:user]).login.capitalize %>
<% else %>
- <%= link_to("Login",:controller => "user", :action => "login")
- %>/<%= link_to("Sign up", :controller => "user", :action => "signup")%>
+ <%= link_to("Login", :controller => "account", :action => "login")
+ %>/<%= link_to("Sign up", :controller => "account", :action => "signup")%>
<% end %> |
<% if session[:user] %>
- <%= link_to("Logout", :controller => "user", :action => "logout") %> |
+ <%= link_to("Logout", :controller => "account", :action => "logout") %> |
<% end %>
<%= link_to("Help/About", :controller => "site", :action => "about") %>