diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-09 22:34:10 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-09 22:34:10 +0300 |
commit | 60869580023da553613ee18bcdbc8682ebdde2cf (patch) | |
tree | 555737ff9f3da49808730f37f91333370b20a74a /app/helpers | |
parent | d7b91fb596e50411c0adb5aa8fb17341087f3f57 (diff) | |
download | gitlab-ce-60869580023da553613ee18bcdbc8682ebdde2cf.tar.gz |
Rename image to container_registry
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/projects_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index a76b5e22600..664fdb6d745 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -152,8 +152,8 @@ module ProjectsHelper nav_tabs << :builds end - if can?(current_user, :read_image, project) - nav_tabs << :images + if can?(current_user, :read_container_registry, project) + nav_tabs << :container_registry end if can?(current_user, :admin_project, project) |