]> projects.mako.cc - selectricity/blobdiff - app/controllers/election_controller.rb
Added the RoR Login-Engine and activated it on the site.
[selectricity] / app / controllers / election_controller.rb
index aaa3d9fe7f8924cddde4edd16c5e6c4178b488c4..9574056f0c6477b1499829efbab787caed589264 100644 (file)
@@ -1,6 +1,8 @@
 class ElectionController < ApplicationController
   model :raw_voter_list, :voter, :vote, :candidate
 
+  before_filter :login_required
+
   ## general methods for dealing with elections
   ####################################################################
   def index

Benjamin Mako Hill || Want to submit a patch?