2014-05-14 13:24:20 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/*
|
2014-07-12 03:16:16 +00:00
|
|
|
* Register CMS routes before all user routes.
|
2014-05-14 13:24:20 +00:00
|
|
|
*/
|
2014-10-10 23:56:53 +00:00
|
|
|
App::before(function ($request) {
|
2014-05-14 13:24:20 +00:00
|
|
|
|
2014-07-12 03:16:16 +00:00
|
|
|
/*
|
|
|
|
|
* Combine JavaScript and StyleSheet assets
|
|
|
|
|
*/
|
|
|
|
|
Route::any('combine/{file}', 'Cms\Classes\Controller@combine');
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* The CMS module intercepts all URLs that were not
|
|
|
|
|
* handled by the back-end modules.
|
|
|
|
|
*/
|
|
|
|
|
Route::any('{slug}', 'Cms\Classes\Controller@run')->where('slug', '(.*)?');
|
|
|
|
|
|
|
|
|
|
});
|