diff options
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/base_mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/base_mailer.rb b/app/mailers/base_mailer.rb index 8299a4140dc..aedb0889185 100644 --- a/app/mailers/base_mailer.rb +++ b/app/mailers/base_mailer.rb @@ -13,7 +13,7 @@ class BaseMailer < ActionMailer::Base end def can? - Ability.abilities.allowed?(user, action, subject) + Ability.abilities.allowed?(current_user, action, subject) end private |