diff options
Diffstat (limited to 'railties/lib/rails_generator/generators/components/scaffold/templates')
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb b/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb index 2a7df1663e..bf47e8eba8 100644 --- a/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +++ b/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb @@ -32,7 +32,7 @@ class <%= controller_class_name %>Controller < ApplicationController end end - # GET /<%= table_name %>/1;edit + # GET /<%= table_name %>/1/edit def edit @<%= file_name %> = <%= class_name %>.find(params[:id]) end |