cakephp/cakephp — pull request #405 by josegonzalez (2012-01-15 19:33:48+00:00)
Title: Properly set the current action on CakeRequest when invoking Controller::setAction()

Currently we just set a new instance variable, `CakeRequest->action`, which is not referenced anywhere in the application. I might be misunderstanding how this should work, but otherwise we have to do a check for that property in order to know setAction was invoked, and $this->request->params['action'] will be incorrect.