12 lines
598 B
PHP
12 lines
598 B
PHP
<?php
|
|
|
|
use App\Contribution\Actions\GenerateApiAction as ContributionGenerateApiAction;
|
|
use App\Form\Actions\FormApiListAction;
|
|
use App\Form\Actions\RegisterAction;
|
|
use App\Group\Actions\GroupApiIndexAction;
|
|
|
|
Route::post('/contribution-generate', ContributionGenerateApiAction::class)->name('api.contribution.generate')->middleware('client:contribution-generate');
|
|
Route::post('/form/{form}/register', RegisterAction::class)->name('form.register');
|
|
Route::get('/group/{group?}', GroupApiIndexAction::class)->name('api.group');
|
|
Route::get('/form', FormApiListAction::class)->name('api.form.index');
|