Class: ActionView::FallbackFileSystemResolver

Inherits:
FileSystemResolver show all
Defined in:
actionpack/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

Instance Method Summary collapse

Methods inherited from FileSystemResolver

#eql?, #initialize, #to_s

Methods inherited from PathResolver

#initialize

Methods inherited from Resolver

#clear_cache, #find_all, #initialize

Constructor Details

This class inherits a constructor from ActionView::FileSystemResolver

Class Method Details

.instancesObject

:nodoc:



261
262
263
# File 'actionpack/lib/action_view/template/resolver.rb', line 261

def self.instances
  [new(""), new("/")]
end

Instance Method Details

#decorateObject



265
266
267
# File 'actionpack/lib/action_view/template/resolver.rb', line 265

def decorate(*)
  super.each { |t| t.virtual_path = nil }
end