about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-26 01:34:12 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-26 01:34:12 +0100
commitda4b675aca2c68e976d7920d3fc5b7e2881d1d86 (patch)
treefab8bd02e9d2584c2127f18275660093cb26cf93 /app/models
parent43bb8a25e702badd4a98934e0e28e65190a1b7cb (diff)
Fix favourite handling in ProcessInteractionService
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index a80efb50d..8b2cd22e0 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -11,4 +11,8 @@ class User < ActiveRecord::Base
   def admin?
     self.admin
   end
+
+  def remember_me
+    (super == nil) ? '1' : super
+  end
 end