dossiers: render a valid response after an autosave
This helps Firefox DevTools to mark the request as valid and completed successfuly.
This commit is contained in:
parent
30b822b135
commit
f58f9f9950
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ module Users
|
|||
|
||||
respond_to do |format|
|
||||
format.html { render :brouillon }
|
||||
format.json { head :ok }
|
||||
format.json { render json: {}, status: :ok }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue