summaryrefslogtreecommitdiff
path: root/app/controllers/api
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-01-28 20:41:54 -0700
committermo khan <mo@mokhan.ca>2015-01-28 20:44:49 -0700
commit75aafe08cfee22e6235559313d79824fddc76dbf (patch)
tree001b987113641a9b967fd64623f4f0f689827d15 /app/controllers/api
parent5d2760887c92accf322d5401611b392328029245 (diff)
return json response from deleting a cake.
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/cakes_controller.rb1
1 files changed, 0 insertions, 1 deletions
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