12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- use Illuminate\Support\Facades\Route;
- Route::get('/', function () {
- return redirect()->route('admin.login');
- });
- Route::group(['prefix' => 'admin'], function () {
- Route::get('/', 'AdminAuth\LoginController@showLoginForm')->name('admin.login');
- Route::post('/login', 'AdminAuth\LoginController@login')->name('admin.login.request');
-
-
-
-
-
-
- });
- Route::get('/clear-cache', function() {
- $exitCode = Artisan::call('config:clear');
- $exitCode = Artisan::call('cache:clear');
- $exitCode = Artisan::call('config:cache');
- $exitCode = Artisan::call('view:clear');
- return 'DONE Sir';
- });
|