summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-24 13:27:18 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-24 13:27:18 +0100
commitd6f37a34c1c262f49a92f26dd187819419d56c2f (patch)
tree4d930985f43a1affeddbdc9ee5d60e81cef9355b /app/controllers
parent16e645c6563b81ce03e481b094abc2d331d05f36 (diff)
downloadgitlab-ce-d6f37a34c1c262f49a92f26dd187819419d56c2f.tar.gz
Fix feature specs related to container registry
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 4981e57ed22..8929bd0aa55 100644
--- a/app/controllers/projects/container_registry_controller.rb
+++ b/app/controllers/projects/container_registry_controller.rb
@@ -5,7 +5,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
layout 'project'
def index
- @images = project.container_images
+ @images = project.container_repositories
end
def destroy
@@ -44,7 +44,7 @@ class Projects::ContainerRegistryController < Projects::ApplicationController
end
def image
- @image ||= project.container_images.find_by(id: params[:id])
+ @image ||= project.container_repositories.find_by(id: params[:id])
end
def tag