Add a "patch" MIME type, and render it like a normal view in Commit#show
This commit is contained in:
parent
c058e3903e
commit
99d391332f
4 changed files with 17 additions and 22 deletions
1
app/views/commit/show.patch.erb
Normal file
1
app/views/commit/show.patch.erb
Normal file
|
@ -0,0 +1 @@
|
|||
<%= @commit.to_patch %>
|
Loading…
Add table
Add a link
Reference in a new issue