Browse files

adjust instance tag call for 2.2.0

  • Loading branch information...
1 parent c06cd99 commit d3b5d8656df3defc1653aafe1a9bb5f0164c1741 @NZKoz NZKoz committed Oct 8, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/country_select.rb
View
2 lib/country_select.rb
@@ -4,7 +4,7 @@ module Helpers
module FormOptionsHelper
# Return select and option tags for the given object and method, using country_options_for_select to generate the list of option tags.
def country_select(object, method, priority_countries = nil, options = {}, html_options = {})
- InstanceTag.new(object, method, self, nil, options.delete(:object)).to_country_select_tag(priority_countries, options, html_options)
+ InstanceTag.new(object, method, self, options.delete(:object)).to_country_select_tag(priority_countries, options, html_options)
end
# Returns a string of option tags for pretty much any country in the world. Supply a country name as +selected+ to
# have it marked as the selected option tag. You can also supply an array of countries as +priority_countries+, so

0 comments on commit d3b5d86

Please sign in to comment.