29 lines
1.1 KiB
PHP
29 lines
1.1 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use App\Http\Controllers\HomeController;
|
|
use App\Http\Controllers\FuzzyController;
|
|
use App\Http\Controllers\HistoryController;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Web Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider and all of them will
|
|
| be assigned to the "web" middleware group. Make something great!
|
|
|
|
|
*/
|
|
|
|
// Route::get('/', function () {
|
|
// return view('welcome');
|
|
// });
|
|
|
|
Route::get('/', [HomeController::class, 'index'])->name('home');
|
|
Route::get('/fuzzy', [FuzzyController::class, 'index'])->name('fuzzy');
|
|
Route::post('/process', [FuzzyController::class, 'processData'])->name('processData');
|
|
Route::get('/fuzzy-logic', [FuzzyLogicController::class, 'calculateFuzzyLogic']);
|
|
Route::post('/calculate-fuzzy-logic', [FuzzyController::class, 'calculateFuzzyLogic'])->name('calculate.fuzzy_logic');
|
|
Route::get('/history', [HistoryController::class, 'index'])->name('history');
|