projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed up a series of things in prepration for the stress test on friday
[selectricity]
/
app
/
views
/
layouts
/
frontpage.rhtml
diff --git
a/app/views/layouts/frontpage.rhtml
b/app/views/layouts/frontpage.rhtml
index de173c280e7560b8229113d4500ac9a89ff87a2d..81c77dc014995599a07cfe78dde15d1a10af326c 100644
(file)
--- a/
app/views/layouts/frontpage.rhtml
+++ b/
app/views/layouts/frontpage.rhtml
@@
-13,28
+13,27
@@
<div id="header">
<div id="top-bar">
<% if session[:user]%>
<div id="header">
<div id="top-bar">
<% if session[:user]%>
- <%= link_to User.find(session[:user]).login.
capitaliz
e,
+ <%= link_to User.find(session[:user]).login.
downcas
e,
:controller => "account",
:action => "summary", :id => session[:user][:id] %>
:controller => "account",
:action => "summary", :id => session[:user][:id] %>
- <%= link_to( '
L
og out', :controller => 'account',
+ <%= link_to( '
l
og out', :controller => 'account',
:action => 'logout' )%>
<% else %>
<%= link_to("login", :controller => "account", :action => "login")
%>
: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 -%>
<% end -%>
- <%= link_to ("help/about", :controller => "site",
- :action => 'about')%>
+ <%= link_to "help/about", :controller => 'about' %>
</div>
</div>
- <a href="
index.html
"><h1>selectricity: voting machinery for the masses</h1></a>
+ <a href="
/
"><h1>selectricity: voting machinery for the masses</h1></a>
</div>
<div id="body">
<%= @content_for_layout %>
</div>
</div>
<div id="body">
<%= @content_for_layout %>
</div>
- <%= render
_partial
'layouts/footer' %>
+ <%= render
:partial =>
'layouts/footer' %>
</div>
</body>
</div>
</body>
Benjamin Mako Hill
||
Want to submit a patch?