/** * Define theme routes namespace. */ public function register() { Route::group(['namespace' => 'Theme\\Controllers'], function () { require themosis_path('theme.resources') . 'routes.php'; }); }
/** * Register plugin routes. * Define a custom namespace. */ public function register() { Route::group(['namespace' => 'Tld\\Domain\\Plugin\\Controllers'], function () { require themosis_path('plugin.tld.domain.plugin.resources') . 'routes.php'; }); }