diff app/controllers/pastes_controller.rb @ 7:3a1f6c2e195d

Added raw paste view.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 11:39:07 -0700
parents 23178d3de796
children 56c17679105b
line wrap: on
line diff
--- a/app/controllers/pastes_controller.rb	Sun Aug 26 11:37:49 2012 -0700
+++ b/app/controllers/pastes_controller.rb	Sun Aug 26 11:39:07 2012 -0700
@@ -6,6 +6,7 @@
 
     respond_to do |format|
       format.html # show.html.erb
+      format.txt # show.html.erb
       format.json { render :json => @paste }
     end
   end