changeset 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 5635c91f4bfd
files app/controllers/pastes_controller.rb
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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