mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
[skip ci]
PHRAS-3381_tx-as-classification-plan_MASTER back controller for ok button fix : PHRAS-3383 WIP
This commit is contained in:
@@ -12,9 +12,9 @@
|
||||
namespace Alchemy\Phrasea\ControllerProvider\Prod;
|
||||
|
||||
use Alchemy\Phrasea\Application as PhraseaApplication;
|
||||
use Alchemy\Phrasea\Core\LazyLocator;
|
||||
use Alchemy\Phrasea\Controller\Prod\EditController;
|
||||
use Alchemy\Phrasea\ControllerProvider\ControllerProviderTrait;
|
||||
use Alchemy\Phrasea\Core\LazyLocator;
|
||||
use Silex\Application;
|
||||
use Silex\ControllerProviderInterface;
|
||||
use Silex\ServiceProviderInterface;
|
||||
@@ -54,6 +54,11 @@ class Edit implements ControllerProviderInterface, ServiceProviderInterface
|
||||
|
||||
$controllers->get('/vocabulary/{vocabulary}/', 'controller.prod.edit:searchVocabularyAction');
|
||||
|
||||
/** @uses \Alchemy\Phrasea\Controller\Prod\EditController::applyJSAction */
|
||||
$controllers
|
||||
->post('/applyjs/', 'controller.prod.edit:applyJSAction')
|
||||
->bind('prod_edit_applyJSAction');
|
||||
|
||||
$controllers->post('/apply/', 'controller.prod.edit:applyAction');
|
||||
|
||||
$controllers->get('/presets/{preset_id}', 'controller.prod.edit:presetsLoadAction');
|
||||
|
@@ -42,11 +42,6 @@ class Thesaurus implements ControllerProviderInterface, ServiceProviderInterface
|
||||
public function connect(Application $app)
|
||||
{
|
||||
$controllers = $this->createAuthenticatedCollection($app);
|
||||
// $firewall = $this->getFirewall($app);
|
||||
|
||||
// $controllers->before(function () use ($firewall) {
|
||||
// $firewall->requireRight(\ACL::CANMODIFRECORD);
|
||||
// });
|
||||
|
||||
/** @uses ThesaurusController::dropRecordsAction() */
|
||||
$controllers->get('/droprecords', 'controller.prod.thesaurus:dropRecordsAction');
|
||||
|
Reference in New Issue
Block a user