Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 901db40

Browse files
committed
fix namespace
1 parent 74137bb commit 901db40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WebSocketsServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public function boot()
3838
protected function registerRouteMacro()
3939
{
4040
Route::macro('websocketsDashboard', function($prefix = 'websockets') {
41-
Route::prefix($prefix)->middleware(Authorize::class)->group(function() {
42-
Route::get('/', ShowDashboard::class);
41+
Route::prefix($prefix)->namespace('\\')->middleware(Authorize::class)->group(function() {
42+
Route::get('/', ShowDashboard::class);
4343
Route::post('auth', AuthenticateDashboard::class);
4444
Route::post('event', SendMessage::class);
4545
});

0 commit comments

Comments
 (0)