]> projects.mako.cc - selectricity-live/blobdiff - app/models/voter.rb
Modified the methods in graphs controller so they would work for Selectricity, but...
[selectricity-live] / app / models / voter.rb
old mode 100644 (file)
new mode 100755 (executable)
index 44efee6..f229909
@@ -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?