refactor(application_component): add current_administrateur

This commit is contained in:
simon lehericey 2022-11-21 12:22:41 +01:00 committed by LeSim
parent 0e610179fb
commit 7e7363c8c3

View file

@ -9,4 +9,8 @@ class ApplicationComponent < ViewComponent::Base
def current_user
controller.current_user
end
def current_administrateur
controller.current_administrateur
end
end