projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix more DeprecationWarnings
[selectricity]
/
app
/
controllers
/
voter_controller.rb
diff --git
a/app/controllers/voter_controller.rb
b/app/controllers/voter_controller.rb
index e94f4a76f0faed8e1994d30356c41fef851b0387..f4e0e7e7d782e9d67c13518d15758f616b8c9764 100644
(file)
--- a/
app/controllers/voter_controller.rb
+++ b/
app/controllers/voter_controller.rb
@@
-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?