method

render_file

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: ActionView::Base
  • 1.0.0 (0)
  • v1.1.0
  • v1.1.1
  • v1.1.2
  • v1.1.3
  • v1.1.4
  • v1.1.5
  • v1.1.6
  • v1.2.0
  • v1.2.1
  • v1.2.2
  • v1.2.3
  • v1.2.4
  • v1.2.5
  • v1.2.6
  • v2.0.0
  • v2.0.1
  • v2.0.2
  • v2.0.3
  • 2.1.0 (0)
  • What's this?
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.

Show source
Register or log in to add new notes.