BigW Consortium Gitlab

Commit eacdd508 by Douwe Maan

Fix Basemailer#can?

parent 1202875d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment