diff --git a/src/Http/routes.php b/src/Http/routes.php index 1523e02..1039691 100644 --- a/src/Http/routes.php +++ b/src/Http/routes.php @@ -7,7 +7,7 @@ 'middleware' => $middleware, 'namespace' => 'Musonza\Chat\Http\Controllers', 'prefix' => $chatRoutesPrefix, -], function () use ($chatRoutesPrefix) { +], function () { /* Conversation */ Route::get('/conversations', 'ConversationController@index')->name('conversations.index'); Route::post('/conversations', 'ConversationController@store')->name('conversations.store');