Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function mapAmpRoutes()
- {
- Route::group([
- 'middleware' => 'web',
- 'namespace' => $this->namespace,
- 'prefix' => 'amp',
- ], function ($router) {
- require base_path('routes/amp.php');
- });
- }
- public function map()
- {
- // new amp routes
- $this->mapAmpRoutes();
- $this->mapWebRoutes();
- $this->mapApiRoutes();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement