new companies Module now with full spoort migrated

This commit is contained in:
Mark Gregory
2026-07-02 11:06:52 +01:00
parent b87036e1a2
commit 7f5572989e
34 changed files with 107 additions and 215 deletions
+9 -3
View File
@@ -11,6 +11,12 @@
|
*/
Route::prefix('company')->group(function() {
Route::get('/', 'CompanyController@index');
});
use Modules\Company\Http\Controllers\CompanyController;
Route::middleware(['auth', 'verified', 'tenant.assigned', 'platform.admin'])
->prefix('admin')
->name('platform.')
->group(function (): void {
Route::get('/companies', [CompanyController::class, 'index'])->name('companies.index');
Route::post('/companies', [CompanyController::class, 'store'])->name('companies.store');
});