Fix Basemailer#can?

This commit is contained in:
Douwe Maan 2015-08-19 14:58:41 -07:00
parent 1202875dff
commit eacdd5080a
1 changed files with 1 additions and 1 deletions

View File

@ -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