register(MailgatewaySettings::class); app(Router::class)->middleware(['web', 'auth:web'])->group(function ($router) { $router->get('/setting/mailgateway', SettingView::class)->name('setting.mailgateway'); }); View::addNamespace('mailgateway', __DIR__ . '/Components'); } }