phpldapadmin/routes/web.php

48 lines
1.6 KiB
PHP
Raw Permalink Normal View History

2019-05-14 07:52:49 +00:00
<?php
2020-08-23 01:37:08 +00:00
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\{HomeController,ImportController};
use App\Http\Controllers\Auth\LoginController;
2019-05-14 07:52:49 +00:00
/*
|--------------------------------------------------------------------------
| 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::group(['prefix' => LaravelLocalization::setLocale()], function() {
Auth::routes([
'login' => TRUE,
'logout' => TRUE,
'reset' => FALSE,
'confirm' => FALSE,
'verify' => FALSE,
'register' => FALSE,
]);
Route::get('/',[HomeController::class,'home']);
Route::get('info',[HomeController::class,'info']);
Route::post('dn',[HomeController::class,'dn_frame']);
2023-01-27 08:59:31 +00:00
Route::get('debug',[HomeController::class,'debug']);
Route::get('import',[HomeController::class,'import_frame']);
2023-02-14 10:38:42 +00:00
Route::get('schema',[HomeController::class,'schema_frame']);
});
Route::get('logout',[LoginController::class,'logout']);
2020-09-15 12:40:32 +00:00
Route::group(['prefix'=>'user'],function() {
Route::get('image',[HomeController::class,'user_image']);
2020-09-15 12:40:32 +00:00
});
2023-03-31 04:55:08 +00:00
2023-09-02 10:50:54 +00:00
Route::post('entry/update/commit',[HomeController::class,'entry_update']);
Route::post('entry/update/pending',[HomeController::class,'entry_pending_update']);
Route::get('entry/newattr/{id}',[HomeController::class,'entry_newattr']);
Route::get('entry/export/{id}',[HomeController::class,'entry_export']);
Route::post('import/process/{type}',[HomeController::class,'import']);