Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rap2hpoutre authored Jun 23, 2016
1 parent 7f34b6c commit 3ba2e07
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Add a route in `app/Http/routes.php` (or choose another route):
Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index');
```

Go to `http://myapp/logs` or some other route

Note for Lumen users
--------------------
For use with Lumen, explicitly set the namespace in `app/Http/routes.php`:
```php
$app->group(['namespace' => '\Rap2hpoutre\LaravelLogViewer'], function() use ($app) {
Expand All @@ -43,5 +47,3 @@ And add the following in `app/bootstrap.php`:
```php
$app->register(Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class);
```

Go to `http://myapp/logs` or some other route

0 comments on commit 3ba2e07

Please sign in to comment.