<?php

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('/', 'App\Http\Controllers\MyController@home');
Route::get('/login', 'App\Http\Controllers\MyController@login');

// Exemples
// Route::get('/', function () {
//     return 'Hello world';
// });

// Route::get('/{firstname}/{name}', function ($firstname, $name) {
//     return "Welcome $firstname $name";
// }) -> name('welcome');

// Route::get('/firstView', function () {
//     return view('myView');
// });

// Route::get('/template', function () {
//     return view('child');
// });
