mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
#fix 279 check params for controllers
This commit is contained in:
@@ -38,7 +38,7 @@ class MoveCollection implements ControllerProviderInterface
|
||||
$move->propose();
|
||||
|
||||
$template = 'prod/actions/collection_default.twig';
|
||||
/* @var $twig \Twig_Environment */
|
||||
/* @var $twig \Twig_Environment */
|
||||
$twig = $app['Core']->getTwig();
|
||||
|
||||
return $twig->render($template, array('action' => $move, 'message' => ''));
|
||||
@@ -53,7 +53,7 @@ class MoveCollection implements ControllerProviderInterface
|
||||
$move->execute($request);
|
||||
$template = 'prod/actions/collection_submit.twig';
|
||||
|
||||
/* @var $twig \Twig_Environment */
|
||||
/* @var $twig \Twig_Environment */
|
||||
$twig = $app['Core']->getTwig();
|
||||
|
||||
return $twig->render($template, array('action' => $move, 'message' => ''));
|
||||
|
Reference in New Issue
Block a user