Skip to content

Commit 4c553e9

Browse files
committed
fix readme
1 parent b6a0633 commit 4c553e9

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

README.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,26 +61,13 @@ This package requires `"intervention/image": "2.*"`, in order to make thumbs, cr
6161
'Image' => Intervention\Image\Facades\Image::class,
6262
```
6363

64-
1. Edit `Kernel.php` :
65-
66-
Add this line in routeMiddleware
67-
68-
- Laravel 5.0
64+
1. Publish the package's config and assets :
6965

70-
```php
71-
'myfolder' => '\Tsawler\Laravelfilemanager\middleware\OnlySeeMyFolder',
7266
```
73-
74-
- Laravel 5.1
75-
76-
```php
77-
'myfolder' => \Tsawler\Laravelfilemanager\middleware\OnlySeeMyFolder::class,
67+
php artisan vendor:publish --tag=lfm_config
68+
php artisan vendor:publish --tag=lfm_public
7869
```
7970

80-
1. Publish the package's config and assets :
81-
82-
`php artisan vendor:publish`
83-
8471
1. View initiation
8572

8673
```javascript
@@ -130,3 +117,4 @@ This package requires `"intervention/image": "2.*"`, in order to make thumbs, cr
130117

131118
And be sure to include the `?type=Images` parameter.
132119

120+
1. To customize the views, run `php artisan vendor:publish --tag=lfm_views`

0 commit comments

Comments
 (0)