X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/22f84a3ea8bc39eb4cb91575d35dfca683336032..c65b1e11059c5cf510b54c785d4a246215058f70:/app/views/layouts/hc.rhtml
diff --git a/app/views/layouts/hc.rhtml b/app/views/layouts/hc.rhtml
old mode 100755
new mode 100644
index 13b2e72..c04eb87
--- 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%>