mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-10-17 12:03:00 -04:00
27 lines
1.6 KiB
PHP
27 lines
1.6 KiB
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Web Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
*/
|
|
|
|
Route::prefix('admin')->middleware(['auth','admin'])->as('admin.')->group(function () {
|
|
Route::get('/staffs', 'StaffAdminController@index')->name('staffs.index');
|
|
Route::get('/staffs/data', 'StaffAdminController@data')->name('staffs.data');
|
|
Route::get('/staffs/uplines', 'StaffAdminController@uplines')->name('staffs.uplines');
|
|
Route::post('/staffs/store', 'StaffAdminController@store')->name('staffs.store');
|
|
Route::post('/staffs/update/{id}', 'StaffAdminController@update')->name('staffs.update');
|
|
Route::post('/staffs/update/{id}/status', 'StaffAdminController@updateStatus')->name('staffs.update-status');
|
|
Route::post('/staffs/update/{id}/badges', 'StaffAdminController@updateBadges')->name('staffs.update-badges');
|
|
Route::post('/staffs/update/{id}/password', 'StaffAdminController@updatePassword')->name('staffs.update-password');
|
|
|
|
Route::get('/staffs/details/{id}', 'StaffAccountController@index')->name('staffs.details');
|
|
Route::get('/staffs/details/{id}/jobs/data', 'StaffAccountController@jobsData')->name('staffs.details.jobs');
|
|
Route::get('/staffs/details/{id}/videos/statistics', 'StaffAccountController@videosStatistics')->name('staffs.details.videos');
|
|
}); |