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:
Pierre de La Morinerie 2019-11-25 18:23:43 +01:00 committed by GitHub Action
parent 30b822b135
commit f58f9f9950

View file

@ -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