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
Class Method Summary collapse
-
.instances ⇒ Object
:nodoc:.
Instance Method Summary collapse
Methods inherited from FileSystemResolver
Methods inherited from PathResolver
Methods inherited from Resolver
#clear_cache, #find_all, #initialize
Constructor Details
This class inherits a constructor from ActionView::FileSystemResolver
Class Method Details
.instances ⇒ Object
:nodoc:
338 339 340 |
# File 'actionview/lib/action_view/template/resolver.rb', line 338 def self.instances [new(""), new("/")] end |
Instance Method Details
#decorate ⇒ Object
342 343 344 |
# File 'actionview/lib/action_view/template/resolver.rb', line 342 def decorate(*) super.each { |t| t.virtual_path = nil } end |