method

to_format

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: ActionController::Responder
to_format() public

All other formats follow the procedure below. First we try to render a template, if the template is not available, we verify if the resource responds to :to_format and display it.

Show source
Register or log in to add new notes.