]> projects.mako.cc - selectricity/blobdiff - app/controllers/voter_controller.rb
Merge from jdong
[selectricity] / app / controllers / voter_controller.rb
index e94f4a76f0faed8e1994d30356c41fef851b0387..f4e0e7e7d782e9d67c13518d15758f616b8c9764 100644 (file)
@@ -1,8 +1,8 @@
 class VoterController < ApplicationController
   layout 'main'
-  model :voter
-  model :vote
-  model :election
+  require_dependency "voter"
+  require_dependency "vote"
+  require_dependency "election"
 
   def index
     password = params[:id]

Benjamin Mako Hill || Want to submit a patch?