Changes
Page history
update for Laravel 5.4
authored
Feb 06, 2017
by
Vladimir Schneider
Show whitespace changes
Inline
Side-by-side
Installation.md
View page @
e9b87153
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
make it available at
`http://yourdomain.com/translations`
. Add the following to your
make it available at
`http://yourdomain.com/translations`
. Add the following to your
`routes/web.php`
file:
`routes/web.php`
file:
```
php
```
use Vsch\TranslationManager\Translator;
use Vsch\TranslationManager\Translator;
\Route::group(['middleware' => 'web', 'prefix' => 'translations'], function () {
\Route::group(['middleware' => 'web', 'prefix' => 'translations'], function () {
...
@@ -150,10 +150,12 @@
...
@@ -150,10 +150,12 @@
| The default group settings for the elFinder routes.
| The default group settings for the elFinder routes.
|
|
*/
*/
return
array
(
'route'
=>
[
'route'
=>
[
'prefix'
=>
'translations'
,
'prefix'
=>
'translations'
,
'middleware'
=>
[
'web'
,
'auth'
],
'middleware'
=>
[
'web'
,
'auth'
],
],
],
);
```
```
8.
8.
##### Setting up user authorization
##### Setting up user authorization
...
...
...
...