Simple question:
on Laravel 4, it seems that the route group to another group is not working. Is there any solution to make it work? Or do I need to write my routes differently?
Example:
Route::group(array('prefix' => 'app', 'before' => 'auth_api'), function() { Route::group(array('prefix' => '{app_id}'), function() { Route::get('/', ' AppController@show '); Route::group(array('prefix' => 'achievement'), function() { Route::get('/{id}', ' AchievementController@show '); }); }); });
I can not get the route (example here) app/1234/achievement/1
Maybe it's too complicated here. I have no error, just a blank page (no PHP error)
source share