diff app/controllers/pastes_controller.rb @ 75:8f6a0204b2a7

Disabled responding to pastes#new format json. Nothing can normally reach that right now.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 11:01:38 +0700
parents 48598fc65c20
children 2fb80ca710e0
line wrap: on
line diff
--- a/app/controllers/pastes_controller.rb	Thu Oct 04 11:00:58 2012 +0700
+++ b/app/controllers/pastes_controller.rb	Thu Oct 04 11:01:38 2012 +0700
@@ -27,7 +27,6 @@
 
     respond_to do |format|
       format.html # new.html.erb
-      format.json { render :json => @paste }
     end
   end