commit: e8d6f6c8c15d68d735a6b4b15fe013054451953a
parent: db8a08850252e109bb9c2ab3af0d4e1260b371f5
Author: Eugen <eugen@zeonfederated.com>
Date: Sun, 8 Jan 2017 04:00:22 +0100
Merge pull request #436 from krainboltgreene/patch-2
Less complicated determination of subscription
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)