Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into dev
  • Loading branch information
jovialcore committed Jan 5, 2024
2 parents bdbc05f + 0c0ae00 commit 1c9bbab
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,54 +24,54 @@

Route::get('/', [App\Http\Controllers\DashboardController::class, 'index'])->name('admin.dashboard.index');

Route::prefix('/dashboard')->group(function () {
Route::prefix('/dashboard')->name('admin.')->group(function () {

Route::get('/preview/data-control', [App\Http\Controllers\DataControlController::class, 'index'])->name('admin.dataControl.index');
Route::get('/preview/data-control', [App\Http\Controllers\DataControlController::class, 'index'])->name('dataControl.index');

Route::post('/intialize', [App\Http\Controllers\DataControlController::class, 'initiateDataSourcing'])->name('admin.datasource.initialize');
Route::post('/intialize', [App\Http\Controllers\DataControlController::class, 'initiateDataSourcing'])->name('datasource.initialize');

Route::get('/preview/soruced-results/{company}', [App\Http\Controllers\DataControlController::class, 'preview'])->name('admin.preview.results');
Route::get('/preview/soruced-results/{company}', [App\Http\Controllers\DataControlController::class, 'preview'])->name('preview.results');

Route::get('/companies/add', [App\Http\Controllers\CompanyController::class, 'create'])->name('admin.company.add');
Route::get('/companies/add', [App\Http\Controllers\CompanyController::class, 'create'])->name('company.add');

Route::get('/companies', [App\Http\Controllers\CompanyController::class, 'index'])->name('admin.company.index');
Route::get('/companies', [App\Http\Controllers\CompanyController::class, 'index'])->name('company.index');

Route::post('/companies/store', [App\Http\Controllers\CompanyController::class, 'store'])->name('admin.company.store');
Route::post('/companies/store', [App\Http\Controllers\CompanyController::class, 'store'])->name('company.store');

Route::get('/companies/{id}/show', [App\Http\Controllers\CompanyController::class, 'show'])->name('admin.company.show');
Route::get('/companies/{id}/show', [App\Http\Controllers\CompanyController::class, 'show'])->name('company.show');

Route::post('/preview/confirm/results/{company}', [App\Http\Controllers\DataControlController::class, 'confirmResults'])->name('admin.preview.result.confirm');
Route::post('/preview/confirm/results/{company}', [App\Http\Controllers\DataControlController::class, 'confirmResults'])->name('preview.result.confirm');


//source

Route::get('/source/create', [App\Http\Controllers\DataSourceController::class, 'create'])->name('admin.source.create');
Route::get('/source/index', [App\Http\Controllers\DataSourceController::class, 'index'])->name('admin.source.index');
Route::post('/source/store', [App\Http\Controllers\DataSourceController::class, 'store'])->name('admin.source.store');
Route::get('/source/create', [App\Http\Controllers\DataSourceController::class, 'create'])->name('source.create');
Route::get('/source/index', [App\Http\Controllers\DataSourceController::class, 'index'])->name('source.index');
Route::post('/source/store', [App\Http\Controllers\DataSourceController::class, 'store'])->name('source.store');


//stacks
Route::get('/stack/index', [App\Http\Controllers\GeneralStackController::class, 'index'])->name('admin.stack.index');
Route::get('/stack/index', [App\Http\Controllers\GeneralStackController::class, 'index'])->name('stack.index');

//backend
Route::prefix('/stack/backend')->group(function () {
Route::get('/stack/backend/create', [App\Http\Controllers\BackendController::class, 'create'])->name('admin.stack.backend.create');
Route::post('/stack/store', [App\Http\Controllers\BackendController::class, 'store'])->name('admin.stack.backend.store');
Route::get('/stack/backend/create', [App\Http\Controllers\BackendController::class, 'create'])->name('stack.backend.create');
Route::post('/stack/store', [App\Http\Controllers\BackendController::class, 'store'])->name('stack.backend.store');
});

//frontend
Route::prefix('/stack/frontend')->group(function () {

Route::get('/create', [App\Http\Controllers\FrontendController::class, 'create'])->name('admin.stack.frontend.create');
Route::post('/store', [App\Http\Controllers\FrontendController::class, 'store'])->name('admin.stack.frontend.store');
Route::get('/create', [App\Http\Controllers\FrontendController::class, 'create'])->name('stack.frontend.create');
Route::post('/store', [App\Http\Controllers\FrontendController::class, 'store'])->name('stack.frontend.store');
});


//mobile
Route::prefix('/stack/mobile')->group(function () {

Route::get('/create', [App\Http\Controllers\MobileController::class, 'create'])->name('admin.stack.mobile.create');
Route::post('/store', [App\Http\Controllers\MobileController::class, 'store'])->name('admin.stack.mobile.store');
Route::get('/create', [App\Http\Controllers\MobileController::class, 'create'])->name('stack.mobile.create');
Route::post('/store', [App\Http\Controllers\MobileController::class, 'store'])->name('stack.mobile.store');
});

});
Expand Down

0 comments on commit 1c9bbab

Please sign in to comment.