Skip to content

Commit 57209e8

Browse files
nckennNyholm
authored andcommitted
Deprecated in Symfony 4.1 (#233)
* Deprecated in Symfony 4.1 User Deprecated: Referencing controllers with TranslationBundle:EditInPlace:edit is deprecated since Symfony 4.1 * Deprecated in Symfony 4.1 User Deprecated: Referencing controllers * Deprecated in Symfony 4.1 User Deprecated: Referencing controllers
1 parent 8aae94c commit 57209e8

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
translation_edit_in_place_update:
22
path: /_trans_edit_in_place/{configName}/{locale}
33
methods: [POST]
4-
defaults: { _controller: TranslationBundle:EditInPlace:edit }
4+
defaults: { _controller: Translation\Bundle\Controller\EditInPlaceController::editAction }

Resources/config/routing_symfony_profiler.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
php_translation_profiler_translation_edit:
33
path: /{token}/translation/edit
44
methods: ["GET", "POST"]
5-
defaults: { _controller: TranslationBundle:SymfonyProfiler:edit }
5+
defaults: { _controller: Translation\Bundle\Controller\SymfonyProfilerController::editAction }
66

77
php_translation_profiler_translation_sync:
88
path: /{token}/translation/sync
99
methods: ["POST"]
10-
defaults: { _controller: TranslationBundle:SymfonyProfiler:sync }
10+
defaults: { _controller: Translation\Bundle\Controller\SymfonyProfilerController::syncAction }
1111

1212
php_translation_profiler_translation_sync_all:
1313
path: /{token}/translation/sync_all
1414
methods: ["POST"]
15-
defaults: { _controller: TranslationBundle:SymfonyProfiler:syncAll }
15+
defaults: { _controller: Translation\Bundle\Controller\SymfonyProfilerController::syncAllAction }
1616

1717
php_translation_profiler_translation_create_assets:
1818
path: /{token}/translation/create_assets
1919
methods: ["POST"]
20-
defaults: { _controller: TranslationBundle:SymfonyProfiler:createAssets }
20+
defaults: { _controller: Translation\Bundle\Controller\SymfonyProfilerController::createAssetsAction }

Resources/config/routing_webui.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
translation_index:
33
path: /_trans/{configName}
44
methods: [GET]
5-
defaults: { _controller: TranslationBundle:WebUI:index, configName: null }
5+
defaults: { _controller: Translation\Bundle\Controller\WebUIController::indexAction, configName: null }
66

77
translation_show:
88
path: /_trans/{configName}/{locale}/{domain}
99
methods: [GET]
10-
defaults: { _controller: TranslationBundle:WebUI:show }
10+
defaults: { _controller: Translation\Bundle\Controller\WebUIController::showAction }
1111

1212
translation_create:
1313
path: /_trans/{configName}/{locale}/{domain}/new
1414
methods: [POST]
15-
defaults: { _controller: TranslationBundle:WebUI:create }
15+
defaults: { _controller: Translation\Bundle\Controller\WebUIController::createAction }
1616

1717
translation_edit:
1818
path: /_trans/{configName}/{locale}/{domain}
1919
methods: [POST]
20-
defaults: { _controller: TranslationBundle:WebUI:edit }
20+
defaults: { _controller: Translation\Bundle\Controller\WebUIController::editAction }
2121

2222
translation_delete:
2323
path: /_trans/{configName}/{locale}/{domain}
2424
methods: [DELETE]
25-
defaults: { _controller: TranslationBundle:WebUI:delete }
25+
defaults: { _controller: Translation\Bundle\Controller\WebUIController::deleteAction }

0 commit comments

Comments
 (0)