takeAction

Action block moved to controller under the name of takeAction.