Answers for "laravel route global constraints"

0

laravel route global constraints

/**
 * Define your route model bindings, pattern filters, etc.
 *
 * @return void
 */
public function boot()
{
    Route::pattern('id', '[0-9]+');

    parent::boot();
}
Posted by: Guest on July-24-2021

Browse Popular Code Answers by Language