]> projects.mako.cc - selectricity-live/blobdiff - app/models/user.rb
Add a way to get the votes list from a quickvote votes XMLRPC call
[selectricity-live] / app / models / user.rb
old mode 100755 (executable)
new mode 100644 (file)
index 64fd71c..78266ad
@@ -4,7 +4,8 @@ class User < ActiveRecord::Base
 
   # Virtual attribute for the unencrypted password
   attr_accessor :password
-
+  attr_accessor :current_user
+  
   validates_presence_of     :login, :email
   validates_presence_of     :password,                   :if => :password_required?
   validates_presence_of     :password_confirmation,      :if => :password_required?

Benjamin Mako Hill || Want to submit a patch?