Merge pull request #436 from krainboltgreene/patch-2

Less complicated determination of subscription
rebase/4.0.0rc2
Eugen 2017-01-08 04:00:22 +01:00 committed by GitHub
commit e8d6f6c8c1
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class Account < ApplicationRecord
end end
def subscribed? def subscribed?
!subscription_expires_at.nil? subscription_expires_at
end end
def favourited?(status) def favourited?(status)