diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2005-08-17 19:36:22 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2005-08-17 19:36:22 +0000 |
commit | 7ab71d389225ed9051de9252d82bcced997064cb (patch) | |
tree | 9f40930f170ce85aa385748fef1f4ddcfda4d973 /railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml | |
parent | 7f32e83f255bdb07e1385cf083888514d88641af (diff) | |
download | rails-7ab71d389225ed9051de9252d82bcced997064cb.tar.gz rails-7ab71d389225ed9051de9252d82bcced997064cb.tar.bz2 rails-7ab71d389225ed9051de9252d82bcced997064cb.zip |
Replace render_partial with render :partial in scaffold generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml')
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml b/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml index 0e92acb103..2db0909cb8 100644 --- a/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml +++ b/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml @@ -1,7 +1,7 @@ <h1>Editing <%= singular_name %></h1> <%%= start_form_tag :action => 'update<%= @suffix %>', :id => @<%= singular_name %> %> - <%%= render_partial 'form' %> + <%%= render :partial => 'form' %> <%%= submit_tag 'Edit' %> <%%= end_form_tag %> |