<?php

use App\Http\Controllers\GlobalSearchController;
use Illuminate\Support\Facades\Route;

Route::middleware(['auth', 'permission:search.use'])
    ->get('/search', GlobalSearchController::class)
    ->name('global-search.index');
