diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 20:25:20 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 20:27:50 -0200 |
commit | 83e4f33ea1f39f1e72b7017641f186756206c14f (patch) | |
tree | b46032b32cf632f1c1ff4023dcb7fcf8f5d54135 /actionview/lib/action_view/helpers.rb | |
parent | afbefccf2a8a2b252fe3fd9565b732f9e0867a08 (diff) | |
download | rails-83e4f33ea1f39f1e72b7017641f186756206c14f.tar.gz rails-83e4f33ea1f39f1e72b7017641f186756206c14f.tar.bz2 rails-83e4f33ea1f39f1e72b7017641f186756206c14f.zip |
Make ActionView::Tags loading tread safe
Diffstat (limited to 'actionview/lib/action_view/helpers.rb')
-rw-r--r-- | actionview/lib/action_view/helpers.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionview/lib/action_view/helpers.rb b/actionview/lib/action_view/helpers.rb index 8a78685ae1..787e9d67b2 100644 --- a/actionview/lib/action_view/helpers.rb +++ b/actionview/lib/action_view/helpers.rb @@ -27,6 +27,12 @@ module ActionView #:nodoc: autoload :TextHelper autoload :TranslationHelper autoload :UrlHelper + autoload :Tags + + def self.eager_load! + super + Tags.eager_load! + end extend ActiveSupport::Concern |