Commit eacdd508 authored by Douwe Maan's avatar Douwe Maan

Fix Basemailer#can?

parent 1202875d
...@@ -13,7 +13,7 @@ class BaseMailer < ActionMailer::Base ...@@ -13,7 +13,7 @@ class BaseMailer < ActionMailer::Base
end end
def can? def can?
Ability.abilities.allowed?(user, action, subject) Ability.abilities.allowed?(current_user, action, subject)
end end
private 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