about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTomohiro Suwa <neoen.gsn@gmail.com>2017-05-04 02:13:04 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-03 19:13:04 +0200
commitaa6a26a2d5afb38ebd7774b8c61e247c27be1a0d (patch)
treeac6b9d66943265e0e7d8e9fc242cb842a5cdd814
parentd91ba3c8d067f0c16d09e21d6f727e4456457a8c (diff)
Correct Account model for rubocop (#2587)
* Correct Account model for rubocop

* Undo these changes
-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 88f25aa4b..d64591641 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -182,7 +182,7 @@ class Account < ApplicationRecord
   end
 
   def subscribed?
-    !subscription_expires_at.blank?
+    subscription_expires_at.present?
   end
 
   def followers_domains