aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/tags/label.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/lib/action_view/helpers/tags/label.rb')
-rw-r--r--actionview/lib/action_view/helpers/tags/label.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/tags/label.rb b/actionview/lib/action_view/helpers/tags/label.rb
index 25f7cafcb8..4159cb105f 100644
--- a/actionview/lib/action_view/helpers/tags/label.rb
+++ b/actionview/lib/action_view/helpers/tags/label.rb
@@ -17,7 +17,7 @@ module ActionView
method_and_value = @tag_value.present? ? "#{@method_name}.#{@tag_value}" : @method_name
content ||= Translator
- .new(object, @object_name, method_and_value, "helpers.label")
+ .new(object, @object_name, method_and_value, scope: "helpers.label")
.call
content ||= @method_name.humanize