diff --git a/config/routing/ajax.yml b/config/routing/ajax.yml index cee0138..96745a8 100644 --- a/config/routing/ajax.yml +++ b/config/routing/ajax.yml @@ -10,11 +10,11 @@ nodeAjaxEdit: controller: Themes\Rozier\AjaxControllers\AjaxNodesController::editAction format: json requirements: { nodeId : "[0-9]+" } -searchNodesSourcesAjax: - path: /nodes-sources/search +searchAjax: + path: /search methods: [GET] defaults: - _controller: Themes\Rozier\AjaxControllers\AjaxSearchNodesSourcesController::searchAction + _controller: Themes\Rozier\AjaxControllers\AjaxSearchController::searchAction _format: json nodesStatusesAjax: path: /nodes/statuses