Merge remote-tracking branch 'parent/main' into upstream-20240227

This commit is contained in:
KMY 2024-02-27 08:53:15 +09:00
commit 78446fead4
120 changed files with 499 additions and 373 deletions

View file

@ -178,7 +178,7 @@ class ApplicationController < ActionController::Base
respond_to do |format|
format.any { render 'errors/self_destruct', layout: 'auth', status: 410, formats: [:html] }
format.json { render json: { error: Rack::Utils::HTTP_STATUS_CODES[410] }, status: code }
format.json { render json: { error: Rack::Utils::HTTP_STATUS_CODES[410] }, status: 410 }
end
end