X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c933ff40da110253bc4c474d9c79c3a4ed98721d..f7aee769411a893c1059c529a220c0d25c72974f:/app/controllers/election_controller.rb diff --git a/app/controllers/election_controller.rb b/app/controllers/election_controller.rb index aaa3d9f..9574056 100644 --- a/app/controllers/election_controller.rb +++ b/app/controllers/election_controller.rb @@ -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