diff --git a/app/components/application_component.rb b/app/components/application_component.rb index 8d88db6c2..9681ab890 100644 --- a/app/components/application_component.rb +++ b/app/components/application_component.rb @@ -9,4 +9,8 @@ class ApplicationComponent < ViewComponent::Base def current_user controller.current_user end + + def current_administrateur + controller.current_administrateur + end end