adrema/modules/Module/ModuleServiceProvider.php

32 lines
616 B
PHP
Raw Permalink Normal View History

2024-10-14 20:25:11 +02:00
<?php
namespace Modules\Module;
use Illuminate\Routing\Router;
use Illuminate\Support\ServiceProvider;
use Modules\Module\Components\SettingView;
class ModuleServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
app(Router::class)->middleware(['web', 'auth:web'])->group(function ($router) {
$router->get('/setting/module', SettingView::class)->name('setting.module');
});
}
}