diff options
| author | mo khan <mo@mokhan.ca> | 2015-01-25 01:03:33 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-01-25 01:03:33 -0700 |
| commit | fb0d7c8cb573e7ed9ee9004d0b7819740d64c1ca (patch) | |
| tree | e4da8452fadd893b45f152982dd5f98646efeca4 /app/controllers/api/v1 | |
| parent | ebaeabcfacbf5bf595e72833959090249baa5d77 (diff) | |
add some missing api tests for v1.
Diffstat (limited to 'app/controllers/api/v1')
| -rw-r--r-- | app/controllers/api/v1/cakes_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
