method
render_file
v1.0.0 -
Show latest stable
- Class:
ActionController::Base
render_file(template_path, status = nil, use_full_path = false, locals = {})protected
No documentation available.
# File actionpack/lib/action_controller/base.rb, line 651
def render_file(template_path, status = nil, use_full_path = false, locals = {})
add_variables_to_assigns
assert_existance_of_template_file(template_path) if use_full_path
logger.info("Rendering #{template_path}" + (status ? " (#{status})" : '')) if logger
render_text(@template.render_file(template_path, use_full_path, locals), status)
end