From fb0d7c8cb573e7ed9ee9004d0b7819740d64c1ca Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 25 Jan 2015 01:03:33 -0700 Subject: add some missing api tests for v1. --- app/controllers/api/v1/cakes_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers/api/v1') diff --git a/app/controllers/api/v1/cakes_controller.rb b/app/controllers/api/v1/cakes_controller.rb index 195dcfc7..2c09fae0 100644 --- a/app/controllers/api/v1/cakes_controller.rb +++ b/app/controllers/api/v1/cakes_controller.rb @@ -34,6 +34,7 @@ module Api def destroy @cake = current_user.creations.find(params[:id]) @cake.destroy! + render nothing: true end private -- cgit v1.2.3