projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
I have added the acts_as_authenticated plugin to code, and have gotten VERY BASIC...
[selectricity]
/
app
/
controllers
/
site_controller.rb
diff --git
a/app/controllers/site_controller.rb
b/app/controllers/site_controller.rb
index d5eab862c5326434d9bc6979be4cc85b2caa7eba..3307d88a27e0e31c0c9e9fa99ce1efafb6fdb595 100644
(file)
--- a/
app/controllers/site_controller.rb
+++ b/
app/controllers/site_controller.rb
@@
-1,6
+1,6
@@
class SiteController < ApplicationController
layout 'hc'
- model :user, :election
+ model :user, :election
, :account
def index
@quickvotes = QuickVote.find_all(["quickvote = 1"]).sort {|a,b| b.enddate <=> a.enddate}[0..1]
Benjamin Mako Hill
||
Want to submit a patch?