fix type_de_champ controller move param
This commit is contained in:
parent
e493bfbf31
commit
ad4dff819e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ module NewAdministrateur
|
||||||
end
|
end
|
||||||
|
|
||||||
def move
|
def move
|
||||||
@procedure.draft_revision.move_type_de_champ(type_de_champ_stable_id, params[:position].to_i)
|
@procedure.draft_revision.move_type_de_champ(type_de_champ_stable_id, (params[:position] || params[:order_place]).to_i)
|
||||||
|
|
||||||
head :no_content
|
head :no_content
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue