diff options
| author | mo khan <mo@mokhan.ca> | 2014-05-30 20:40:42 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-05-30 20:40:42 -0600 |
| commit | 76f16dd640694bc7b9ea4cc83a8f7e3f2ef98685 (patch) | |
| tree | be9ded245f90e52648670ee47e345973c5bf7289 /app/controllers | |
| parent | f124024d72a916e1615e084893d98b1fcf337b89 (diff) | |
change name of message.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/creations_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/creations_controller.rb b/app/controllers/creations_controller.rb index d3be5a49..13ccdfcf 100644 --- a/app/controllers/creations_controller.rb +++ b/app/controllers/creations_controller.rb @@ -25,8 +25,7 @@ class CreationsController < ApplicationController end def create_cake_succeeded(cake) - @creation = cake - redirect_to new_my_cake_photo_path(@creation) + redirect_to new_my_cake_photo_path(cake) end def create_cake_failed(cake) |
