aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/scaffolding.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/scaffolding.rb b/actionpack/lib/action_controller/scaffolding.rb
index 52fc570a04..db988e0216 100644
--- a/actionpack/lib/action_controller/scaffolding.rb
+++ b/actionpack/lib/action_controller/scaffolding.rb
@@ -141,7 +141,7 @@ module ActionController
if @#{singular_name}.save
flash["notice"] = "#{class_name} was successfully updated"
- redirect_to :action => "show#{suffix}/" + @#{singular_name}.id.to_s
+ redirect_to :action => "show#{suffix}" + @#{singular_name}.id.to_s
else
render#{suffix}_scaffold('edit')
end