Skip to content

Commit

Permalink
Fixed upload field to be image upload
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed May 2, 2010
1 parent 86b96c9 commit bd1db80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/editor/auth_controller.rb
Expand Up @@ -74,7 +74,7 @@ def available_field_list
:introduction => ['Introduction'.t, :radio_buttons, :introduction, { :options => [ ['Mr.'.t,'Mr.'],['Mrs.'.t,'Mrs.' ], ['Ms.'.t, 'Ms.'] ] } ],
:username => [ 'Username'.t,:text_field, :username ],
:salutation => [ 'Salutation'.t,:text_field, :salutation ],
:image => [ 'Profile Image'.t,:file_upload, :domain_file_id ]
:image => [ 'Profile Image'.t,:upload_image, :domain_file_id ]
}
end

Expand Down Expand Up @@ -228,7 +228,7 @@ def available_field_list
:introduction => ['Introduction'.t, :radio_buttons, :introduction, { :options => [ ['Mr.'.t,'Mr.'],['Mrs.'.t,'Mrs.' ], ['Ms.'.t, 'Ms.'] ] } ],
:username => [ 'Username'.t,:text_field, :username ],
:salutation => [ 'Salutation'.t,:text_field, :salutation ],
:domain_file_id => [ 'Upload Profile Image'.t,:file_field, :domain_file_id ]
:domain_file_id => [ 'Upload Profile Image'.t,:upload_image, :domain_file_id ]
}
end

Expand Down

0 comments on commit bd1db80

Please sign in to comment.