1
0
Fork 0
forked from gitea/nas

Merge pull request #614 from kmycode/upstream-20240227

Upstream 20240227
This commit is contained in:
KMY(雪あすか) 2024-02-27 10:15:06 +09:00 committed by GitHub
commit 04b3f9fc4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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