fix namespace
This commit is contained in:
parent
74137bb9f4
commit
901db407ce
|
|
@ -38,8 +38,8 @@ class WebSocketsServiceProvider extends ServiceProvider
|
||||||
protected function registerRouteMacro()
|
protected function registerRouteMacro()
|
||||||
{
|
{
|
||||||
Route::macro('websocketsDashboard', function($prefix = 'websockets') {
|
Route::macro('websocketsDashboard', function($prefix = 'websockets') {
|
||||||
Route::prefix($prefix)->middleware(Authorize::class)->group(function() {
|
Route::prefix($prefix)->namespace('\\')->middleware(Authorize::class)->group(function() {
|
||||||
Route::get('/', ShowDashboard::class);
|
Route::get('/', ShowDashboard::class);
|
||||||
Route::post('auth', AuthenticateDashboard::class);
|
Route::post('auth', AuthenticateDashboard::class);
|
||||||
Route::post('event', SendMessage::class);
|
Route::post('event', SendMessage::class);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue