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