mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
3ed878ab46
* fix: allow configurable domain and prefix for all supported routes * style: fix StyleCI finding
25 lines
760 B
PHP
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');
|