Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-06-06 17:40:35 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-06 19:59:49 +0300
commit77f30af0179164fe3e893df616eb60beb8a1d9fe (patch)
treece8d4b24c5a9290b79e35667d9316d5214759988 /app/views/shared/_label_row.html.haml
parentb0ec4b9cc37f30c90d4bceff5e8b8efbac25dedc (diff)
Tidy up Ruby style in templates
Diffstat (limited to 'app/views/shared/_label_row.html.haml')
-rw-r--r--app/views/shared/_label_row.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_label_row.html.haml b/app/views/shared/_label_row.html.haml
index c53f32d97e8..d315a3fe93b 100644
--- a/app/views/shared/_label_row.html.haml
+++ b/app/views/shared/_label_row.html.haml
@@ -1,5 +1,5 @@
%span.label-row
- - if can? current_user, :admin_label, @project
+ - if can?(current_user, :admin_label, @project)
.js-toggle-priority.toggle-priority{ data: { url: remove_priority_namespace_project_label_path(@project.namespace, @project, label),
dom_id: dom_id(label) } }
%button.add-priority.btn.has-tooltip{ title: 'Prioritize', :'data-placement' => 'top' }