diff options
author | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-04-05 18:59:46 +0100 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-04-06 10:56:21 +0100 |
commit | f16377e7dc762462817dd0b34e36811c55988b10 (patch) | |
tree | 0c2848cee6743f0648e2c3d9361d201aca7fbf1a /app/views/projects/branches/_branch.html.haml | |
parent | 18506d4b8b8bc780b3b1e4c61339af38b5c49bb2 (diff) | |
download | gitlab-ce-f16377e7dc762462817dd0b34e36811c55988b10.tar.gz |
Protected Tags backend review changes
Added changelog
Diffstat (limited to 'app/views/projects/branches/_branch.html.haml')
-rw-r--r-- | app/views/projects/branches/_branch.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml index d84fa9e55c0..931a5f920d3 100644 --- a/app/views/projects/branches/_branch.html.haml +++ b/app/views/projects/branches/_branch.html.haml @@ -15,7 +15,7 @@ %span.label.label-info.has-tooltip{ title: "Merged into #{@repository.root_ref}" } merged - - if ProtectedBranch.protected?(@project, branch.name) + - if protected_branch?(@project, branch) %span.label.label-success protected .controls.hidden-xs< |