]> projects.mako.cc - selectricity-live/blobdiff - app/models/election.rb
fixed up kiosk mode
[selectricity-live] / app / models / election.rb
index a3cf8e47c1b3db7ee0e74908eb71f0fcd5798c46..a3e939424ac11099ba5c1f6e70dd5b0989b2b405 100644 (file)
@@ -89,6 +89,10 @@ class Election < ActiveRecord::Base
   def authenticated?
     authenticated
   end
+
+  def kiosk?
+    kiosk
+  end
   
   def shortdesc
     shortdesc = description.split(/\n/)[0]

Benjamin Mako Hill || Want to submit a patch?