Support the ongoing development of Laravel.io →

zhzhwcn

Joined 4 Jul 2014

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0
posted 10 years ago

How to make custom urls in laravel?

Route::pattern('name', '[a-zA-Z0-9\+\-]+'); Route::pattern('id', '[0-9]+'); Route::get('goods-{name}...

0 Likes
2 Replies
Solved
replied 10 years ago

How to make custom urls in laravel?

christoffertyrefors said: You should name your routes, and then use URL::route('route.name', array(...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.