diff app/controllers/pastes_controller.rb @ 12:f3adcff48173

Whoops, forgot to hide the ip etc in json. Removed for now.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 12:04:48 -0700
parents 56c17679105b
children 59ef6698fa0d
line wrap: on
line diff
--- a/app/controllers/pastes_controller.rb	Sun Aug 26 12:00:31 2012 -0700
+++ b/app/controllers/pastes_controller.rb	Sun Aug 26 12:04:48 2012 -0700
@@ -7,7 +7,6 @@
     respond_to do |format|
       format.html # show.html.erb
       format.txt # show.html.erb
-      format.json { render :json => @paste }
     end
   end