first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-01-25 13:06:29 -05:00
commit 346346573f
1362 changed files with 343729 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
use App\Http\Controllers\TonerController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| 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::get('/login', function () {
return view('auth.login');
});
Route::get('index/{locale}', [App\Http\Controllers\HomeController::class, 'lang']);
Auth::routes();
Route::middleware(['auth'])->group(function () {
Route::get('/', [App\Http\Controllers\HomeController::class, 'index'])->name('index');
Route::get('logout', [TonerController::class, 'logout']);
Route::get('{any}', [TonerController::class, 'index']);
});