diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-19 20:15:57 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-19 20:15:57 +0000 |
commit | 0de0d207e83a4814a497639d226a4ff787fa871a (patch) | |
tree | 30076a0e57896101c0dff4b7054f06ddf8b7b057 /actionpack | |
parent | 9b5ece87d429c9c78528ca5ce470422621a50ce6 (diff) | |
download | rails-0de0d207e83a4814a497639d226a4ff787fa871a.tar.gz rails-0de0d207e83a4814a497639d226a4ff787fa871a.tar.bz2 rails-0de0d207e83a4814a497639d226a4ff787fa871a.zip |
Added Afghanistan (no more conspiracy!) to FormOptions#country_select and FormOptions#country_options_for_select
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/helpers/form_options_helper.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 29a4412c81..8fb10b5dcb 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -11,7 +11,7 @@ * Added FormTagHelper that provides a number of methods for creating form tags that doesn't rely on conventions with an object assigned to the template like FormHelper does. With the FormTagHelper, you provide the names and values yourself. -* Added Iran and Irak to the countries list used by FormOptions#country_select and FormOptions#country_options_for_select +* Added Afghanistan, Iran, and Irak to the countries list used by FormOptions#country_select and FormOptions#country_options_for_select * Renamed link_to_image to link_image_to (since thats what it actually does) -- kept alias for the old method name diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb index 29bc03b4a2..a2ed1cc113 100644 --- a/actionpack/lib/action_view/helpers/form_options_helper.rb +++ b/actionpack/lib/action_view/helpers/form_options_helper.rb @@ -167,7 +167,7 @@ module ActionView private # All the countries included in the country_options output. - COUNTRIES = [ "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", + COUNTRIES = [ "Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua And Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegowina", |