hey guys i know meteor providing a very simple and expressive method of defining routes:
actually that very easy … but is it possible to group
i know in laravel(PHP) have this kind of option
oute::resource('dashboard','Admin\DashboardController');
Route::resource('users','Admin\UsersController');
Route::controller('profile','Admin\ProfileController');
Route::group(array('namespace' => 'Admin'), function()
{
Route::resource('dashboard','DashboardController');
Route::resource('users','UsersController');
Route::controller('profile','ProfileController');
});
is that possible with iron Route ??? OR any ???
FlowRouter has groups.
Only used iron router for half a project a long time ago so can’t say if it has them.
thanks peter … this is uesful for me
1 Like