Skip to content
Permalink
Browse files

Moving a method around.

  • Loading branch information...
markstory committed Nov 14, 2010
1 parent 070066b commit db3f74dfa0f16ea71a299146b02c7da07dcccca9
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/dispatcher.php
@@ -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']

0 comments on commit db3f74d

Please sign in to comment.
You can’t perform that action at this time.