Skip to content

Commit

Permalink
Discard flash messages in inline editing
Browse files Browse the repository at this point in the history
  • Loading branch information
coorasse committed Nov 7, 2024
1 parent 125ac7a commit 59e6575
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/moirai/translation_files_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def handle_create
def success_response(translation)
respond_to do |format|
format.json do
flash.discard
render json: {}
end
format.all do
Expand Down

0 comments on commit 59e6575

Please sign in to comment.