remove ununcessary instance variable for current admin

This commit is contained in:
Lisa Durand 2024-03-20 11:24:24 +01:00
parent e757eefd37
commit db244c821b
2 changed files with 1 additions and 2 deletions

View file

@ -286,7 +286,6 @@ module Administrateurs
def check_path
@path_available = @procedure.path_available?(params[:path])
@other_procedure = @procedure.other_procedure_with_path(params[:path])
@administrateur = current_administrateur
respond_to do |format|
format.turbo_stream do
render :check_path