diff options
Diffstat (limited to 'actionview/lib/action_view/helpers/tags/placeholderable.rb')
-rw-r--r-- | actionview/lib/action_view/helpers/tags/placeholderable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/tags/placeholderable.rb b/actionview/lib/action_view/helpers/tags/placeholderable.rb index 0b15a11308..db16ea7b0b 100644 --- a/actionview/lib/action_view/helpers/tags/placeholderable.rb +++ b/actionview/lib/action_view/helpers/tags/placeholderable.rb @@ -10,7 +10,7 @@ module ActionView method_and_value = tag_value.is_a?(TrueClass) ? @method_name : "#{@method_name}.#{tag_value}" placeholder ||= Tags::Translator - .new(object, @object_name, method_and_value, "helpers.placeholder") + .new(object, @object_name, method_and_value, scope: "helpers.placeholder") .call placeholder ||= @method_name.humanize @options[:placeholder] = placeholder |