diff options
| author | mo khan <mo@mokhan.ca> | 2014-06-23 21:32:28 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-06-23 21:32:28 -0600 |
| commit | 634357ed961d39e9ea0cb4a996afd69a59ea1ad2 (patch) | |
| tree | 5bf516a749c4c5afeb690c68391592696c18524f /app/controllers/api/v1 | |
| parent | 644a9248b5df5e8d6055706d0be83a3283c1c909 (diff) | |
parse the proper params to save the cake tags.
Diffstat (limited to 'app/controllers/api/v1')
| -rw-r--r-- | app/controllers/api/v1/cakes_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/cakes_controller.rb b/app/controllers/api/v1/cakes_controller.rb index b53ecade..8757fd16 100644 --- a/app/controllers/api/v1/cakes_controller.rb +++ b/app/controllers/api/v1/cakes_controller.rb @@ -12,7 +12,7 @@ module Api end def create - CreateCakeCommand.new(self).run(cake_params, params[:cake_tags]) + CreateCakeCommand.new(self).run(cake_params, params[:cake][:cake_tags]) end def create_cake_succeeded(cake) |
