mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Fix wrong HTTP status codes on error pages
This commit is contained in:
@@ -50,6 +50,6 @@ class StreamEntriesController < ApplicationController
|
||||
end
|
||||
|
||||
def check_account_suspension
|
||||
head 410 if @account.suspended?
|
||||
gone if @account.suspended?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user