This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
unregister_template(template)
private
remove (probably deleted) template from cache
# File actionpack/lib/action_view/reloadable_template.rb, line 49
def unregister_template(template)
template.accessible_paths.each do |template_path|
@paths.delete(template_path) if @paths[template_path] == template
end
# fill in any newly created gaps
@paths.values.uniq.each do |template|
template.accessible_paths.each {|path| @paths[path] ||= template}
end
end