summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-14 18:26:26 -0500
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-14 18:26:26 -0500
commitc275c91373103c10dfe5e21afd6fc54a7a4dfdbe (patch)
treef1dd9d2fdedb394251081efd1da3917c36d187cc /app/controllers
parentf63b6fc297b876e26b93c12ca510148d18d58ec2 (diff)
downloadgitlab-ce-c275c91373103c10dfe5e21afd6fc54a7a4dfdbe.tar.gz
Change abilities from container_registry to container_image
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/container_registry_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/container_registry_controller.rb b/app/controllers/projects/container_registry_controller.rb
index c470789a5bb..e48f205d216 100644
--- a/app/controllers/projects/container_registry_controller.rb
+++ b/app/controllers/projects/container_registry_controller.rb
@@ -1,6 +1,6 @@
class Projects::ContainerRegistryController < Projects::ApplicationController
- before_action :authorize_read_container_registry!
- before_action :authorize_update_container_registry!, only: [:destroy]
+ before_action :authorize_read_container_image!
+ before_action :authorize_update_container_image!, only: [:destroy]
layout 'project'
def index