Class: ActionView::FallbackFileSystemResolver
- Inherits:
-
FileSystemResolver
- Object
- Resolver
- PathResolver
- FileSystemResolver
- ActionView::FallbackFileSystemResolver
- Defined in:
- actionview/lib/action_view/template/resolver.rb
Overview
The same as FileSystemResolver but does not allow templates to store a virtual path since it is invalid for such resolvers.
Constant Summary
Constants inherited from PathResolver
PathResolver::DEFAULT_PATTERN, PathResolver::EXTENSIONS
Instance Attribute Summary
Attributes inherited from FileSystemResolver
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from FileSystemResolver
Methods inherited from PathResolver
Methods inherited from Resolver
#clear_cache, #find_all, #find_all_with_query, #initialize
Constructor Details
This class inherits a constructor from ActionView::FileSystemResolver
Class Method Details
.instances ⇒ Object
377 378 379 |
# File 'actionview/lib/action_view/template/resolver.rb', line 377 def self.instances [new(""), new("/")] end |
Instance Method Details
#build_unbound_template(template, _) ⇒ Object
381 382 383 |
# File 'actionview/lib/action_view/template/resolver.rb', line 381 def build_unbound_template(template, _) super(template, nil) end |
#reject_files_external_to_app(files) ⇒ Object
385 386 387 |
# File 'actionview/lib/action_view/template/resolver.rb', line 385 def reject_files_external_to_app(files) files end |