Changed properties to remove unecessary exectables.
[selectricity] / app / models / voter.rb
index 44efee6e1aa7a0e7b49391955202e82d91e195b9..f229909814c12fbd51beeb120061661ef87a67ec 100644 (file)
@@ -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?