mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Conflicts: modules/backend/behaviors/UserPreferencesModel.php modules/cms/classes/Controller.php modules/system/classes/CombineAssets.php
15 lines
293 B
PHP
15 lines
293 B
PHP
<?php
|
|
|
|
/*
|
|
* Register CMS routes before all user routes.
|
|
*/
|
|
App::before(function ($request) {
|
|
|
|
/*
|
|
* The CMS module intercepts all URLs that were not
|
|
* handled by the back-end modules.
|
|
*/
|
|
Route::any('{slug}', 'Cms\Classes\Controller@run')->where('slug', '(.*)?');
|
|
|
|
});
|