mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add autoloads for ActionView::Template* classes, and an ActionView::TemplateError alias for ActionView::Template::Error.
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
This commit is contained in:
parent
8b9275340f
commit
c517a4fb9a
2 changed files with 7 additions and 1 deletions
|
@ -43,6 +43,10 @@ module ActionView
|
|||
autoload :PathResolver, 'action_view/template/resolver'
|
||||
autoload :PathSet, 'action_view/paths'
|
||||
autoload :FileSystemResolverWithFallback, 'action_view/template/resolver'
|
||||
|
||||
autoload :TemplateError, 'action_view/template/error'
|
||||
autoload :TemplateHandler, 'action_view/template'
|
||||
autoload :TemplateHandlers, 'action_view/template'
|
||||
end
|
||||
|
||||
require 'action_view/erb/util'
|
||||
|
|
|
@ -100,4 +100,6 @@ module ActionView
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
TemplateError = Template::Error
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue