X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/dc635b6d39be19a09a428282b6d639d029908df6..eaf661eb6a8571bc24b180cfc731f3b9b38a8fff:/app/views/layouts/hc.rhtml
diff --git a/app/views/layouts/hc.rhtml b/app/views/layouts/hc.rhtml
index 2408083..c04eb87 100755
--- a/app/views/layouts/hc.rhtml
+++ b/app/views/layouts/hc.rhtml
@@ -11,13 +11,13 @@
<% if @page_title %>
<%= @page_title %>
<% else %>
- Selectricity
- Voting Machinery for the Masses
+
<% end %>
<% if session[:user] %>
-<% breakpoint%>
Welcome <%= User.find(session[:user]).login.capitalize %>
<% else %>
<%= link_to("Login", :controller => "account", :action => "login")
@@ -29,11 +29,12 @@
<% end %>
<%= link_to("Help/About", :controller => "site", :action => "about") %>
+ <%= link_to( "Home", :controller => 'site', :action => 'index' )%>
- <% if @flash[:notice]%>
- <%= @flash[:notice] %>
+ <% if flash[:notice]%>
+ <%= flash[:notice] %>
<% end%>