OSDN Git Service

Add a "patch" MIME type, and render it like a normal view in Commit#show
authorRobert Speicher <rspeicher@gmail.com>
Tue, 25 Sep 2012 22:46:19 +0000 (18:46 -0400)
committerRobert Speicher <rspeicher@gmail.com>
Wed, 26 Sep 2012 20:32:23 +0000 (16:32 -0400)
commit99d391332fa9a6c11e93bd19295425167661b972
treeec381458fcd3652ffc067c927cf8b912ce0f8e23
parentc058e3903e01b950d19fe8ce86702f24083c8395
Add a "patch" MIME type, and render it like a normal view in Commit#show
app/controllers/commit_controller.rb
app/controllers/commits_controller.rb
app/views/commit/show.patch.erb [new file with mode: 0644]
config/initializers/mime_types.rb