summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-17 17:09:03 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-17 17:10:08 +0100
commitdc857ab15020c5706405568d9a7d50a23f3e0459 (patch)
tree265765de8cf9b502b4fa4328259f691b78765223 /app/views
parent6dd88474bed70c2aa70c7fdf7ba6dbdc29dc8998 (diff)
downloadgitlab-ce-dc857ab15020c5706405568d9a7d50a23f3e0459.tar.gz
Added editable concern
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/issues/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 144233b54bb..0ad615535d7 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -53,7 +53,7 @@
.detail-page-description.content-block
.issue-title-data.hidden{ "data" => { "endpoint" => rendered_title_namespace_project_issue_path(@project.namespace, @project, @issue),
"can-update-tasks-class" => can?(current_user, :update_issue, @issue) ? 'js-task-list-container' : '',
- "is-edited": is_edited?(@issue),
+ "is-edited": @issue.is_edited?,
} }
.issue-title-entrypoint