![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/demo.intellicart.co/vendor/barryvdh/laravel-translation-manager/src/ |
<?php declare(strict_types=1); $config = array_merge(config('translation-manager.route'), ['namespace' => 'Barryvdh\TranslationManager','middleware' => ['web', 'auth']]); Route::group($config, function($router) { $router->get('/{namespace?}', 'Controller@getNameSpace'); $router->get('/{namespace?}/{groupKey?}', 'Controller@getView')->where('groupKey', '.*'); $router->get('/{groupKey?}', 'Controller@getIndex')->where('groupKey', '.*'); $router->post('/add/{groupKey}', 'Controller@postAdd')->where('groupKey', '.*'); $router->post('/edit/{namespace?}/{groupKey}', 'Controller@postEdit')->where('groupKey', '.*'); $router->post('/groups/add', 'Controller@postAddGroup'); $router->post('/delete/{namespace?}/{groupKey}/{translationKey}', 'Controller@postDelete')->where('groupKey', '.*'); $router->post('/import', 'Controller@postImport'); $router->post('/find', 'Controller@postFind'); $router->post('/locales/add', 'Controller@postAddLocale'); $router->post('/locales/remove', 'Controller@postRemoveLocale'); $router->post('/publish/{namespace?}/{groupKey?}', 'Controller@postPublish')->where('groupKey', '.*'); $router->post('/translate-missing', 'Controller@postTranslateMissing'); });