move add_filter
This commit is contained in:
parent
e3ee756da4
commit
4241ea05f3
2 changed files with 4 additions and 7 deletions
|
@ -150,9 +150,7 @@ module Instructeurs
|
|||
end
|
||||
|
||||
def add_filter
|
||||
if params[:value].present?
|
||||
procedure_presentation.add_filter(statut, params[:field], params[:value])
|
||||
end
|
||||
procedure_presentation.add_filter(statut, params[:field], params[:value])
|
||||
|
||||
redirect_back(fallback_location: instructeur_procedure_url(procedure))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue