aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/template/sources.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-04-04 12:45:30 -0700
committerJohn Hawthorn <john@hawthorn.email>2019-04-04 15:07:14 -0700
commitdb1830a7ec5765909fadb80a8725e52cc37ade07 (patch)
tree2f561972976919251121962d2d9af0cbd68921f6 /actionview/lib/action_view/template/sources.rb
parentb8e6594181996807ea18d1209f8ee3dbd581554b (diff)
downloadrails-db1830a7ec5765909fadb80a8725e52cc37ade07.tar.gz
rails-db1830a7ec5765909fadb80a8725e52cc37ade07.tar.bz2
rails-db1830a7ec5765909fadb80a8725e52cc37ade07.zip
Add ActionView::Template::Sources::File
Diffstat (limited to 'actionview/lib/action_view/template/sources.rb')
-rw-r--r--actionview/lib/action_view/template/sources.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/actionview/lib/action_view/template/sources.rb b/actionview/lib/action_view/template/sources.rb
new file mode 100644
index 0000000000..8b89535741
--- /dev/null
+++ b/actionview/lib/action_view/template/sources.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module ActionView
+ class Template
+ module Sources
+ extend ActiveSupport::Autoload
+
+ eager_autoload do
+ autoload :File
+ end
+ end
+ end
+end