Fix wrong HTTP status codes on error pages

This commit is contained in:
Eugen Rochko
2017-03-19 20:03:28 +01:00
parent 8c7277acd4
commit 08b96f1b9f
3 changed files with 5 additions and 5 deletions

View File

@ -56,6 +56,6 @@ class AccountsController < ApplicationController
end
def check_account_suspension
head 410 if @account.suspended?
gone if @account.suspended?
end
end