diff options
| author | mo khan <mo@mokhan.ca> | 2014-11-22 21:26:43 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-11-22 21:26:43 -0700 |
| commit | 66c09b81c3a4baeb0ca39a1e87496cca53a43a7c (patch) | |
| tree | 6d8785cf262d7619652d40f848d4959ca15a1a00 /app/controllers/api | |
| parent | 082832b62f281779bb26ae9ca5a1743e00259c09 (diff) | |
render proper json when creating a new tutorial.
Diffstat (limited to 'app/controllers/api')
| -rw-r--r-- | app/controllers/api/v1/tutorials_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/api/v1/tutorials_controller.rb b/app/controllers/api/v1/tutorials_controller.rb index a264a09b..8c75dbf0 100644 --- a/app/controllers/api/v1/tutorials_controller.rb +++ b/app/controllers/api/v1/tutorials_controller.rb @@ -8,7 +8,6 @@ module Api def create @tutorial = current_user.tutorials.create!(tutorial_params) current_user.tag(@tutorial, with: params[:tutorial][:tags], on: :tags) - respond_with(@tutorial) end private |
