<?php

/**
 * Register application routes.
 */
use App\Http\Controller;
use Corviz\Routing\Route;

Route::get('/', [
    'controller' => Controller\Home::class,
    'action'     => 'index',
    'alias'      => 'home.index',
    'middleware' => 'auth'
]);

<?php

/**
 * Register application routes.
 */
use App\Http\Controller;
use Corviz\Routing\Route;

Route::get('/', [
    'controller' => Controller\Home::class,
    'action'     => 'index',
    'alias'      => 'home.index',
]);

Index route should not use authentication
Index route should not use authentication