X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/09c67d9323c7d379d4c6de5dc0457b6de16cff14..1544cbab02fbc3333bc53a5ac98d38e377640d4a:/app/controllers/election_controller.rb diff --git a/app/controllers/election_controller.rb b/app/controllers/election_controller.rb index df0aa7c..d333294 100644 --- a/app/controllers/election_controller.rb +++ b/app/controllers/election_controller.rb @@ -1,5 +1,8 @@ class ElectionController < ApplicationController - model :raw_voter_list, :voter, :vote, :candidate + require_dependency "raw_voter_list" + require_dependency "voter" + require_dependency "vote" + require_dependency "candidate" layout 'main' #before_filter :login_required