summaryrefslogtreecommitdiff
path: root/app/controllers/projects/registry/tags_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/registry/tags_controller.rb')
-rw-r--r--app/controllers/projects/registry/tags_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects/registry/tags_controller.rb b/app/controllers/projects/registry/tags_controller.rb
index d689cade3ab..5050dba3aab 100644
--- a/app/controllers/projects/registry/tags_controller.rb
+++ b/app/controllers/projects/registry/tags_controller.rb
@@ -6,9 +6,11 @@ module Projects
def destroy
if tag.delete
redirect_to project_container_registry_path(@project),
+ status: 302,
notice: 'Registry tag has been removed successfully!'
else
redirect_to project_container_registry_path(@project),
+ status: 302,
alert: 'Failed to remove registry tag!'
end
end