diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index cb129a5a1f..4c5f2b1e06 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -9,11 +9,11 @@ Admin? : <%= f.check_box :admin %> <% end %> - <% form_for :person => @person, :url => { :action => "update" } do |person_form| %> + <% form_for :person => person, :url => { :action => "update" } do |person_form| %> First name: <%= person_form.text_field :first_name %> Last name : <%= person_form.text_field :last_name %> - <% fields_for :permission => @person.permission do |permission_fields| %> + <% fields_for :permission => person.permission do |permission_fields| %> Admin? : <%= permission_fields.check_box :admin %> <% end %> <% end %> |