]> projects.mako.cc - selectricity-live/blobdiff - app/controllers/quickvote_controller.rb
Cleaned up some of the test cases.
[selectricity-live] / app / controllers / quickvote_controller.rb
index 8b853ebd1a70274a5562a9d04c46ab4101153a25..41d0dc3616050ef909e39ebbcaa2eef7363da12f 100644 (file)
@@ -1,9 +1,9 @@
 class QuickvoteController < ApplicationController
   layout 'main'
-  model :quick_voter
-  model :quick_vote
-  model :vote
-  model :election
+  require_dependency "quick_voter"
+  require_dependency "quick_vote"
+  require_dependency "vote"
+  require_dependency "election"
 
   #############################################################
   # the following methods pertain to creating quickvotes

Benjamin Mako Hill || Want to submit a patch?