Use multi-line conditions in view, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7034#note_17522557
This commit is contained in:
Lin Jen-Shin 2016-10-28 03:05:41 +08:00
parent 141cb35dc5
commit fb19d9f4e2
1 changed files with 2 additions and 1 deletions

View File

@ -1 +1,2 @@
= commit_to_html(@commit, @ref, @source_project) if @commit
- if @commit
= commit_to_html(@commit, @ref, @source_project)