Files
paranarimasu 3ed878ab46 fix: allow configurable domain and prefix for all supported routes (#393)
* fix: allow configurable domain and prefix for all supported routes

* style: fix StyleCI finding
2022-06-07 09:56:46 -05:00

25 lines
760 B
PHP

<?php
declare(strict_types=1);
use Illuminate\Support\Facades\Route;
use Spatie\RouteDiscovery\Discovery\Discover;
/*
|--------------------------------------------------------------------------
| 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!
|
*/
Discover::controllers()->in(app_path('Http/Controllers/Auth'));
Discover::controllers()->in(app_path('Http/Controllers/Billing'));
Route::middleware(['auth', 'verified'])->get('/dashboard', function () {
return view('dashboard');
})->name('dashboard');