Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

laravel route global constraints

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

    parent::boot();
}
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #route #global #constraints
ADD COMMENT
Topic
Name
4+3 =