Skip to content
update for Laravel 5.4 authored by Vladimir Schneider's avatar Vladimir Schneider
......@@ -129,7 +129,7 @@
make it available at `http://yourdomain.com/translations`. Add the following to your
`routes/web.php` file:
```php
```
use Vsch\TranslationManager\Translator;
\Route::group(['middleware' => 'web', 'prefix' => 'translations'], function () {
......@@ -150,10 +150,12 @@
| The default group settings for the elFinder routes.
|
*/
return array(
'route' => [
'prefix' => 'translations',
'middleware' => ['web', 'auth'],
],
);
```
8.
##### Setting up user authorization
......
......