projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow custimizable graph sizes, to fit with newly modular results page. Also,
[selectricity-live]
/
app
/
models
/
voter.rb
diff --git
a/app/models/voter.rb
b/app/models/voter.rb
index 44efee6e1aa7a0e7b49391955202e82d91e195b9..f229909814c12fbd51beeb120061661ef87a67ec 100644
(file)
--- a/
app/models/voter.rb
+++ b/
app/models/voter.rb
@@
-7,7
+7,9
@@
class Voter < ActiveRecord::Base
super
end
+ def voted?
+ vote.confirmed == 1
+ end
end
-
Benjamin Mako Hill
||
Want to submit a patch?