diff options
Diffstat (limited to 'lib/sidebars/projects/menus/deployments_menu.rb')
-rw-r--r-- | lib/sidebars/projects/menus/deployments_menu.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sidebars/projects/menus/deployments_menu.rb b/lib/sidebars/projects/menus/deployments_menu.rb index 9904d533f47..5f789748288 100644 --- a/lib/sidebars/projects/menus/deployments_menu.rb +++ b/lib/sidebars/projects/menus/deployments_menu.rb @@ -62,7 +62,7 @@ module Sidebars def releases_menu_item if !can?(context.current_user, :read_release, context.project) || - context.project.empty_repo? + context.project.empty_repo? return ::Sidebars::NilMenuItem.new(item_id: :releases) end |