diff options
author | Kurtis Rainbolt-Greene <me@kurtisrainboltgreene.name> | 2017-01-07 17:59:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-07 17:59:51 -0800 |
commit | 4a7e3e5082ed2a974a3938e8fb404445bd1d08f9 (patch) | |
tree | d89e75c7401dbf3427ef6f7429385857aca8034f /app | |
parent | 6d097d559b7fc2b7a6fc365a1205dde0602b9e50 (diff) |
Less complicated determination
Diffstat (limited to 'app')
-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) |