Use markdown_field helper to display full_title

This commit is contained in:
Patrick Bajao 2019-06-05 20:09:50 +08:00
parent de21320db2
commit 93dd5390b6
1 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
- full_title = markdown_field(commit, :full_title)
%span.str-truncated
= link_to_html commit.redacted_full_title_html, project_commit_path(@project, commit.id), title: commit.redacted_full_title_html, class: 'tree-commit-link'
= link_to_html full_title, project_commit_path(@project, commit.id), title: full_title, class: 'tree-commit-link'