From 75aafe08cfee22e6235559313d79824fddc76dbf Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 28 Jan 2015 20:41:54 -0700 Subject: return json response from deleting a cake. --- app/controllers/api/v1/cakes_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers/api') diff --git a/app/controllers/api/v1/cakes_controller.rb b/app/controllers/api/v1/cakes_controller.rb index 7680fa16..8888d286 100644 --- a/app/controllers/api/v1/cakes_controller.rb +++ b/app/controllers/api/v1/cakes_controller.rb @@ -28,7 +28,6 @@ module Api def destroy @cake = current_user.creations.find(params[:id]) @cake.destroy! - render nothing: true end private -- cgit v1.2.3