Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.2.1) is shown here.
reload!()
public
Rebuild load path
directory cache
# File actionpack/lib/action_view/paths.rb, line 83
def reload!
@paths = {}
templates_in_path do |template|
# Eager load memoized methods and freeze cached template
template.freeze if self.class.eager_load_templates?
@paths[template.path] = template
@paths[template.path_without_extension] ||= template
end
@paths.freeze
@loaded = true
end