Last active
August 9, 2019 08:44
-
-
Save madindo/a9138b4a2215207a5f36e279d369f83c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment