| 1 | <?php |
||
| 8 | class MiniCmsRouteServiceProvider extends RouteServiceProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * This namespace is applied to your controller routes. |
||
| 12 | * |
||
| 13 | * In addition, it is set as the URL generator's root namespace. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $namespace = 'Chadanuk\MiniCms\Http\Controllers'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Define your route model bindings, pattern filters, etc. |
||
| 21 | * |
||
| 22 | * @return void |
||
| 23 | */ |
||
| 24 | public function boot() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Define the routes for the application. |
||
| 31 | * |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | public function map() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Define the "web" routes for the application. |
||
| 41 | * |
||
| 42 | * These routes all receive session state, CSRF protection, etc. |
||
| 43 | * |
||
| 44 | * @return void |
||
| 45 | */ |
||
| 46 | protected function mapWebRoutes() |
||
| 52 | } |
||
| 53 |