1 | <?php |
||
8 | class AssistantController extends Controller |
||
9 | { |
||
10 | public function missingViewAction($viewName, $viewParams) |
||
11 | { |
||
12 | $viewPath = $this->get('knp_rad.view.path_deducer')->deducePath($viewName); |
||
13 | $viewLogicalName = $this->get('knp_rad.view.path_deducer')->deduceViewLogicalName($viewName); |
||
14 | $viewBody = $this->renderView($viewLogicalName, array( |
||
15 | 'viewParams' => $viewParams |
||
16 | )); |
||
17 | |||
18 | return $this->render( |
||
19 | 'KnpRadBundle:Assistant:missingView.html.twig', |
||
20 | array( |
||
21 | 'viewName' => $viewName, |
||
22 | 'viewBody' => $viewBody, |
||
23 | 'viewParams' => $viewParams, |
||
24 | 'viewPath' => $viewPath, |
||
25 | ) |
||
26 | ); |
||
27 | } |
||
28 | |||
29 | public function createViewAction(Request $request) |
||
47 | } |
||
48 |