Skip to content

Commit

Permalink
Moving a method around.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 14, 2010
1 parent 070066b commit db3f74d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/libs/dispatcher.php
Expand Up @@ -106,10 +106,10 @@ public function dispatch(CakeRequest $request, $additionalParams = array()) {
'controller' => Inflector::camelize($request->params['controller']) . 'Controller'
));
}
$privateAction = $this->_isPrivateAction($request);

Router::setRequestInfo($request);

if ($privateAction) {
if ($this->_isPrivateAction($request)) {
throw new PrivateActionException(array(
'controller' => Inflector::camelize($request->params['controller']) . "Controller",
'action' => $request->params['action']
Expand Down

0 comments on commit db3f74d

Please sign in to comment.