Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. protected function mapAmpRoutes()
  2. {
  3. Route::group([
  4. 'middleware' => 'web',
  5. 'namespace' => $this->namespace,
  6. 'prefix' => 'amp',
  7. ], function ($router) {
  8. require base_path('routes/amp.php');
  9. });
  10. }
  11.  
  12. public function map()
  13. {
  14. // new amp routes
  15. $this->mapAmpRoutes();
  16.  
  17. $this->mapWebRoutes();
  18.  
  19. $this->mapApiRoutes();
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement