Permalink
Browse files

Fixed scaffolding and routes conflict #669

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 70f891a commit 9be37c9b203994724a1d7e60a99b207442f3fec5 @dhh dhh committed Feb 19, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/scaffolding.rb
@@ -141,7 +141,7 @@ def update#{suffix}
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

0 comments on commit 9be37c9

Please sign in to comment.