]> projects.mako.cc - selectricity-live/blobdiff - app/controllers/election_controller.rb
Revise functional test of graph controller for retrieving an unknown id number. Curre...
[selectricity-live] / app / controllers / election_controller.rb
index df0aa7c53631ab968b7d2f6bf963172645ae4f3f..d3332948b4398a197ca8280d69ec8db351ea7be2 100644 (file)
@@ -1,5 +1,8 @@
 class ElectionController < ApplicationController
 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
   layout 'main'
 
   #before_filter :login_required

Benjamin Mako Hill || Want to submit a patch?