Method: ActionView::FileSystemResolver#all_template_paths
- Defined in:
- actionview/lib/action_view/template/resolver.rb
#all_template_paths ⇒ Object
:nodoc:
117 118 119 120 121 122 123 124 |
# File 'actionview/lib/action_view/template/resolver.rb', line 117 def all_template_paths # :nodoc: paths = template_glob("**/*") paths.map do |filename| filename.from(@path.size + 1).remove(/\.[^\/]*\z/) end.uniq.map do |filename| TemplatePath.parse(filename) end end |