method

render_file

render_file(template_path, use_full_path = true, local_assigns = {})
public

Renders the template present at template_path. If use_full_path is set to true, it’s relative to the view_paths array, otherwise it’s absolute. The hash in local_assigns is made available as local variables.