]> projects.mako.cc - selectricity/blobdiff - app/models/voter.rb
changed properties and the name of hyperchad to selectricity
[selectricity] / 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
 
     super
   end
 
+  def voted?
+    vote.confirmed == 1
+  end
 end
 
 
 end
 
 
-

Benjamin Mako Hill || Want to submit a patch?