Ticket #2926: controller.patch
| File controller.patch, 0.7 kB (added by gnat, 1 year ago) |
|---|
-
controller/sfController.class.php
old new 533 533 $this->getContext()->getRequest()->setAttribute($module.'_'.$action.'_view_name', $viewName, 'symfony/action/view'); 534 534 } 535 535 536 // forward to the mail action 537 $this->forward($module, $action); 538 536 try 537 { 538 // forward to the mail action 539 $this->forward($module, $action); 540 } 541 catch(Exception $e) 542 { 543 // put render mode back 544 $this->setRenderMode($renderMode); 545 546 throw $e; 547 } 539 548 // grab the action entry from this forward 540 549 $actionEntry = $actionStack->getEntry($index); 541 550