spec/rails_app/app/models/user.rb in activity_notification-1.0.2 vs spec/rails_app/app/models/user.rb in activity_notification-1.1.0

- old
+ new

@@ -2,10 +2,11 @@ devise :database_authenticatable, :registerable, :confirmable validates :email, presence: true has_many :articles, dependent: :destroy has_one :admin, dependent: :destroy - acts_as_target email: :email, email_allowed: :confirmed_at, batch_email_allowed: :confirmed_at, printable_name: :name + acts_as_target email: :email, email_allowed: :confirmed_at, batch_email_allowed: :confirmed_at, + subscription_allowed: true, printable_name: :name acts_as_notifier printable_name: :name def admin? admin.present? end