diff options
author | Eugen <eugen@zeonfederated.com> | 2017-01-08 04:00:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-08 04:00:22 +0100 |
commit | e8d6f6c8c15d68d735a6b4b15fe013054451953a (patch) | |
tree | 5152c37e64f292361b4f9327e550b3dfb251e81e | |
parent | db8a08850252e109bb9c2ab3af0d4e1260b371f5 (diff) | |
parent | 4a7e3e5082ed2a974a3938e8fb404445bd1d08f9 (diff) |
Merge pull request #436 from krainboltgreene/patch-2
Less complicated determination of subscription
-rw-r--r-- | app/models/account.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb index 41fcc864b..db110a9e1 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -104,7 +104,7 @@ class Account < ApplicationRecord end def subscribed? - !subscription_expires_at.nil? + subscription_expires_at end def favourited?(status) |