web.php 683B

123456789101112131415161718192021222324
  1. <?php
  2. use App\Http\Controllers\DashboardController;
  3. use Illuminate\Support\Facades\Route;
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Web Routes
  7. |--------------------------------------------------------------------------
  8. |
  9. | Here is where you can register web routes for your application. These
  10. | routes are loaded by the RouteServiceProvider within a group which
  11. | contains the "web" middleware group. Now create something great!
  12. |
  13. */
  14. Route::middleware(['auth', 'verified'])->group(function () {
  15. Route::get('/', DashboardController::class);
  16. Route::get('/dashboards', DashboardController::class);
  17. });
  18. require __DIR__ . '/auth.php';