update imporsonation routes (#477)

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Chirag Chhatrala 2024-07-10 13:29:56 +05:30 committed by GitHub
parent 07a3a91645
commit b11f41d8b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -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',

View File

@ -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');