1
0
Fork 0
forked from forgejo/forgejo

Fix file edit change preview functionality (#5300)

This commit is contained in:
Lauris BH 2018-11-09 14:05:43 +02:00 committed by GitHub
parent 2852c3576a
commit 7dd31eb8fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -3,9 +3,7 @@
<div class="file-body file-code code-view code-diff">
<table>
<tbody>
{{with .File}}
{{template "repo/diff/section_unified" .}}
{{end}}
{{template "repo/diff/section_unified" dict "file" .File "root" $}}
</tbody>
</table>
</div>