adrema/modules/Contribution/ContributionServiceProvider...

32 lines
630 B
PHP

<?php
namespace Modules\Contribution;
use Illuminate\Routing\Router;
use Illuminate\Support\ServiceProvider;
use Modules\Contribution\Components\FillList;
class ContributionServiceProvider 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('/contribution', FillList::class)->name('contribution.index');
});
}
}