I have added the acts_as_authenticated plugin to code, and have gotten VERY BASIC...
[selectricity] / app / controllers / site_controller.rb
index d5eab862c5326434d9bc6979be4cc85b2caa7eba..3307d88a27e0e31c0c9e9fa99ce1efafb6fdb595 100644 (file)
@@ -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?