summaryrefslogtreecommitdiff
path: root/app/controllers/admin/labels_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/labels_controller.rb')
-rw-r--r--app/controllers/admin/labels_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/labels_controller.rb b/app/controllers/admin/labels_controller.rb
index 90c1694fd2e..6cb206c1686 100644
--- a/app/controllers/admin/labels_controller.rb
+++ b/app/controllers/admin/labels_controller.rb
@@ -43,7 +43,7 @@ class Admin::LabelsController < Admin::ApplicationController
respond_to do |format|
format.html do
- redirect_to admin_labels_path, status: 302, notice: _('Label was removed')
+ redirect_to admin_labels_path, status: :found, notice: _('Label was removed')
end
format.js
end