diff options
Diffstat (limited to 'actionview/lib/action_view/helpers/tags/color_field.rb')
-rw-r--r-- | actionview/lib/action_view/helpers/tags/color_field.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/tags/color_field.rb b/actionview/lib/action_view/helpers/tags/color_field.rb index d8fc797035..bab28352ed 100644 --- a/actionview/lib/action_view/helpers/tags/color_field.rb +++ b/actionview/lib/action_view/helpers/tags/color_field.rb @@ -4,7 +4,7 @@ module ActionView class ColorField < TextField # :nodoc: def render options = @options.stringify_keys - options["value"] = @options.fetch("value") { validate_color_string(value(object)) } + options["value"] = options.fetch("value") { validate_color_string(value(object)) } @options = options super end |