update imporsonation routes (#477)
Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
parent
07a3a91645
commit
b11f41d8b6
|
|
@ -36,6 +36,9 @@ class ImpersonationMiddleware
|
||||||
'open.forms.regenerate-link',
|
'open.forms.regenerate-link',
|
||||||
'open.forms.submissions',
|
'open.forms.submissions',
|
||||||
'open.forms.submissions.file',
|
'open.forms.submissions.file',
|
||||||
|
'open.providers',
|
||||||
|
'open.forms.integrations',
|
||||||
|
'open.forms.integrations.events',
|
||||||
|
|
||||||
// Workspaces
|
// Workspaces
|
||||||
'open.workspaces.index',
|
'open.workspaces.index',
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ Route::group(['middleware' => 'auth:api'], function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::prefix('open')->name('open.')->group(function () {
|
Route::prefix('open')->name('open.')->group(function () {
|
||||||
Route::get('/providers', [OAuthProviderController::class, 'index'])->name('index');
|
Route::get('/providers', [OAuthProviderController::class, 'index'])->name('providers');
|
||||||
|
|
||||||
Route::get('/forms', [FormController::class, 'indexAll'])->name('forms.index-all');
|
Route::get('/forms', [FormController::class, 'indexAll'])->name('forms.index-all');
|
||||||
Route::get('/forms/{slug}', [FormController::class, 'show'])->name('forms.show');
|
Route::get('/forms/{slug}', [FormController::class, 'show'])->name('forms.show');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue