Commit 2709403d10c6be15c281647527279e30c3cfaabd

  • avatar
  • p4bl0 <pablo.rauzy @gm…l.com>
  • Thu Jun 04 21:10:39 CEST 2009
change to use default view by default in REST controllers instead of the action name as in normal controllers
  
4747 $ctrlInstance = new HttpErrorsController('HttpErrors', 'e404');
4848 }
4949 }
50
50
51 if ($RESTCtrl) $ctrlInstance->setView('default');
5152 $ctrlInstance->_pre_action();
5253 if ($RESTCtrl)
5354 call_user_func(array($ctrlInstance, strtolower($req->getMethod())), $action);