about summary refs log tree commit diff
path: root/app/models/account.rb
diff options
context:
space:
mode:
authorKurtis Rainbolt-Greene <me@kurtisrainboltgreene.name>2017-01-07 17:59:51 -0800
committerGitHub <noreply@github.com>2017-01-07 17:59:51 -0800
commit4a7e3e5082ed2a974a3938e8fb404445bd1d08f9 (patch)
treed89e75c7401dbf3427ef6f7429385857aca8034f /app/models/account.rb
parent6d097d559b7fc2b7a6fc365a1205dde0602b9e50 (diff)
Less complicated determination
Diffstat (limited to 'app/models/account.rb')
-rw-r--r--app/models/account.rb2
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)