phpldapadmin/routes/web.php

37 lines
971 B
PHP
Raw 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;
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('home','HomeController@home');
Route::get('info','HomeController@info');
Route::post('render','HomeController@render');
});
2020-09-05 23:46:27 +00:00
Route::redirect('/','home');
Route::get('logout','Auth\LoginController@logout');
2020-09-15 12:40:32 +00:00
Route::group(['prefix'=>'user'],function() {
Route::get('image','HomeController@user_image');
});