Fix wrong HTTP status codes on error pages
This commit is contained in:
parent
8c7277acd4
commit
08b96f1b9f
3 changed files with 5 additions and 5 deletions
|
@ -50,6 +50,6 @@ class StreamEntriesController < ApplicationController
|
|||
end
|
||||
|
||||
def check_account_suspension
|
||||
head 410 if @account.suspended?
|
||||
gone if @account.suspended?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue