mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
17 lines
383 B
PHP
17 lines
383 B
PHP
<?php
|
|
|
|
/**
|
|
* Register System routes before all user routes.
|
|
*/
|
|
App::before(function ($request) {
|
|
/*
|
|
* Combine JavaScript and StyleSheet assets
|
|
*/
|
|
Route::any('combine/{file}', 'System\Classes\SystemController@combine');
|
|
|
|
/*
|
|
* Resize image assets
|
|
*/
|
|
Route::get('resize/{identifier}/{source}/{name}', 'System\Classes\SystemController@resize');
|
|
});
|