提交 9bb2f02d 编写于 作者: M Mayra Cabrera 提交者: Sean McGivern

Makes 'diff/content' partial use instance method

There's a method defined on viewer that does the conditional.
上级 d43fd46c
.diff-content
= render 'projects/diffs/viewer', viewer: diff_file.rich_viewer || diff_file.simple_viewer
= render 'projects/diffs/viewer', viewer: diff_file.viewer
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册