diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-31 15:10:15 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-31 15:10:15 +0200 |
commit | 83d1fe9b5aeb947c1387666205ecaca81f2bf3a2 (patch) | |
tree | f5cd91c67ffbc179f051b9fd75abe6a281b2827c /app/controllers/projects/registry | |
parent | 00319e595ab52906d12ef027a10e08ac92ea1337 (diff) | |
download | gitlab-ce-83d1fe9b5aeb947c1387666205ecaca81f2bf3a2.tar.gz |
Add serveral minor improvements to container registry
Diffstat (limited to 'app/controllers/projects/registry')
-rw-r--r-- | app/controllers/projects/registry/repositories_controller.rb | 3 | ||||
-rw-r--r-- | app/controllers/projects/registry/tags_controller.rb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/controllers/projects/registry/repositories_controller.rb b/app/controllers/projects/registry/repositories_controller.rb index e3e30176b30..2901d83fcef 100644 --- a/app/controllers/projects/registry/repositories_controller.rb +++ b/app/controllers/projects/registry/repositories_controller.rb @@ -9,7 +9,8 @@ module Projects def destroy if image.destroy - redirect_to project_container_registry_path(@project) + redirect_to project_container_registry_path(@project), + notice: 'Images repository has been removed successfully!' else redirect_to project_container_registry_path(@project), alert: 'Failed to remove images repository!' diff --git a/app/controllers/projects/registry/tags_controller.rb b/app/controllers/projects/registry/tags_controller.rb index 8f0a1aff394..aab130787e9 100644 --- a/app/controllers/projects/registry/tags_controller.rb +++ b/app/controllers/projects/registry/tags_controller.rb @@ -5,7 +5,8 @@ module Projects def destroy if tag.delete - redirect_to project_container_registry_path(@project) + redirect_to project_container_registry_path(@project), + notice: 'Tag removed successfull!' else redirect_to project_container_registry_path(@project), alert: 'Failed to remove repository tag!' |