diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-19 20:03:28 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-19 20:03:28 +0100 |
commit | 08b96f1b9f419ab250f24f3828db28a247ef11ac (patch) | |
tree | 7ef4667515fd9c530a6253c5e88a9c8ba53c5813 /app/controllers/stream_entries_controller.rb | |
parent | 8c7277acd4988a06192f559218a7c59bf5f7dd79 (diff) |
Fix wrong HTTP status codes on error pages
Diffstat (limited to 'app/controllers/stream_entries_controller.rb')
-rw-r--r-- | app/controllers/stream_entries_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/stream_entries_controller.rb b/app/controllers/stream_entries_controller.rb index c43d372ed..de38b3602 100644 --- a/app/controllers/stream_entries_controller.rb +++ b/app/controllers/stream_entries_controller.rb @@ -50,6 +50,6 @@ class StreamEntriesController < ApplicationController end def check_account_suspension - head 410 if @account.suspended? + gone if @account.suspended? end end |