From ab2ace6bbef1cc98c98e5a9a6b45e734bc5edd9d Mon Sep 17 00:00:00 2001 From: Rajarshi Das Date: Sat, 6 Sep 2014 11:49:39 +0530 Subject: fix the undefined method content_tag #15245 not required include ActionView::Helpers::TagHelper in test as well --- actionview/lib/action_view/helpers/translation_helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionview/lib/action_view/helpers/translation_helper.rb') diff --git a/actionview/lib/action_view/helpers/translation_helper.rb b/actionview/lib/action_view/helpers/translation_helper.rb index 1d50ea2ff5..c2fda42396 100644 --- a/actionview/lib/action_view/helpers/translation_helper.rb +++ b/actionview/lib/action_view/helpers/translation_helper.rb @@ -6,6 +6,7 @@ module ActionView # = Action View Translation Helpers module Helpers module TranslationHelper + include TagHelper # Delegates to I18n#translate but also performs three additional functions. # # First, it will ensure that any thrown +MissingTranslation+ messages will be turned -- cgit v1.2.3