From 5c62b1606f7f89efdd5a6c51308cd0212fe9a709 Mon Sep 17 00:00:00 2001
From: "C. Scott Ananian"
Date: Sat, 22 Jan 2011 03:42:16 -0500
Subject: [PATCH 1/1] Add links to create new election/quick vote on the
account summary screen.
---
app/views/account/summary.rhtml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/views/account/summary.rhtml b/app/views/account/summary.rhtml
index 0ea9f24..4d79f5b 100644
--- a/app/views/account/summary.rhtml
+++ b/app/views/account/summary.rhtml
@@ -36,6 +36,7 @@ Member since: <%=h @user.created_at.strftime("%x") %>
<% end -%>
+<%= link_to "Create a new election", :controller => 'election', :action => 'new' %>.
@@ -73,3 +74,4 @@ Your Quickvotes:
<% end %>
+<%= link_to( "Create a new QuickVote", :controller => 'quickvote', :action => 'create') %>.
--
2.39.5