Flowdock
method

template_format

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActionController::Request
template_format() public

Returns a symbolized version of the :format parameter of the request. If no \format is given it returns :jsfor Ajax requests and :html otherwise.

Show source
Register or log in to add new notes.