Flowdock
method

action

Importance_1
v3.1.0 - Show latest stable - 0 notes - Class: ActionController::Metal
action(name, klass = ActionDispatch::Request) public

Return a rack endpoint for the given action. Memoize the endpoint, so multiple calls into MyController.action will return the same object for the same action.

Parameters

Returns

  • proc - A rack application

Show source
Register or log in to add new notes.