method
register_template_from_file
v2.3.8 -
Show latest stable
- Class:
ActionView::ReloadableTemplate::ReloadablePath
register_template_from_file(template_full_file_path)private
No documentation available.
# File actionpack/lib/action_view/reloadable_template.rb, line 36
def register_template_from_file(template_full_file_path)
if !@paths[relative_path = relative_path_for_template_file(template_full_file_path)] && File.file?(template_full_file_path)
register_template(ReloadableTemplate.new(relative_path, self))
end
end