diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-26 01:34:12 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-26 01:34:12 +0100 |
commit | da4b675aca2c68e976d7920d3fc5b7e2881d1d86 (patch) | |
tree | fab8bd02e9d2584c2127f18275660093cb26cf93 /app/models | |
parent | 43bb8a25e702badd4a98934e0e28e65190a1b7cb (diff) |
Fix favourite handling in ProcessInteractionService
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 4 |
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 |