From 9b1879f014ac59eea1a268f82671e0981694c5b6 Mon Sep 17 00:00:00 2001 From: Luke Bennett Date: Thu, 16 May 2019 14:45:50 +0100 Subject: Resolve CE/EE diffs in protected branches Part of single codebase changes. --- app/views/projects/protected_branches/_protected_branch.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/protected_branches/_protected_branch.html.haml b/app/views/projects/protected_branches/_protected_branch.html.haml index b12ae995ece..366d7a7a2eb 100644 --- a/app/views/projects/protected_branches/_protected_branch.html.haml +++ b/app/views/projects/protected_branches/_protected_branch.html.haml @@ -1,2 +1,2 @@ = render layout: 'projects/protected_branches/shared/protected_branch', locals: { protected_branch: protected_branch } do - = render partial: 'projects/protected_branches/update_protected_branch', locals: { protected_branch: protected_branch } + = render_if_exists 'projects/protected_branches/update_protected_branch', protected_branch: protected_branch -- cgit v1.2.1