I'm not sure if it is possible to have two variables in one route segment.. Can't you combine the id, . and format
in one pattern?
The two variables work fine. The problem is the id pattern. Maybe I should reduce the problem to this:
Route::get('/name/{id}', 'NameController@showName')
->where(array('id' => '/\p{L}+/u'));
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community