summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-05-30 20:40:42 -0600
committermo khan <mo@mokhan.ca>2014-05-30 20:40:42 -0600
commit76f16dd640694bc7b9ea4cc83a8f7e3f2ef98685 (patch)
treebe9ded245f90e52648670ee47e345973c5bf7289 /app/controllers
parentf124024d72a916e1615e084893d98b1fcf337b89 (diff)
change name of message.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/creations_controller.rb3
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)