Initial refactoring work
This commit is contained in:
@@ -11,14 +11,26 @@
|
||||
|
|
||||
*/
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
Route::get('/','WelcomeController@index');
|
||||
|
||||
// Generic Image Renderer - Render images that we dont have with a generic image
|
||||
Route::get('image/generic/{width}/{height}/{color}/{name?}','MediaController@image')->name('image');
|
||||
|
||||
Route::get('admin/switch/start/{id}','\Leenooks\Controllers\AdminController@user_switch_start')->name('switch.user.stop');
|
||||
Route::get('admin/switch/stop','\Leenooks\Controllers\AdminController@user_switch_stop')->name('switch.user.start');
|
||||
|
||||
Route::group(['middleware'=>['theme:adminlte-be']], function() {
|
||||
Auth::routes();
|
||||
Route::get('/logout','Auth\LoginController@logout');
|
||||
Route::get('/r/supplier/index', 'SuppliersController@index');
|
||||
Route::get('/r/supplier/create', 'SuppliersController@create');
|
||||
Route::post('/r/supplier/store', 'SuppliersController@store');
|
||||
Route::get('/home', 'UserHomeController@home');
|
||||
});
|
||||
|
||||
Route::group(['middleware'=>['theme:metronic-fe']], function() {
|
||||
Route::get('/', 'WelcomeController@index');
|
||||
});
|
||||
|
||||
Route::demoAccess('/uc-access');
|
||||
Route::get('/under_construction','WelcomeController@under_construction');
|
Reference in New Issue
Block a user