Flowdock
method

action

Importance_1
v3.0.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

action<#to_s>:An action name

Returns

Proc:A rack application
Show source
Register or log in to add new notes.