method

register_template_from_file

rails latest stable - Class: ActionView::ReloadableTemplate::ReloadablePath

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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