13 Commits

Author SHA1 Message Date
Marc Jauvin
9a6f71e0d4
Fix route order with new system.beforeRoute and system.route events (#465)
With the recent change to module routes being registered in their boot methods the Backend & CMS modules were registering their routes before the System module could. 

Due to the greedy nature of the CMS module's route it must always be registered last.
2022-02-21 12:28:09 -06:00
Luke Towers
7f6fcb59be Don't defer registering module routes
Related to 290303c740
2022-02-16 02:03:59 -06:00
Ben Thomson
cf67e83598
Make slug route param optional for CMS module.
This allows the home page to load.
2020-01-19 23:23:27 +08:00
Marc Jauvin
992e84e602 Add missing documentation comment blocks for fired events (#4788)
Credit to @mjauvin.
2019-11-24 23:59:00 -06:00
Samuel Georges
453e48924e Apply web middleware group for the good cookies 2017-05-13 22:18:13 +10:00
Samuel Georges
366cdd55a8 Add hooks to the cms/backend route definitions 2015-05-02 13:53:05 +10:00
Samuel Georges
1a037bad04 Add the ability to include middleware in CMS / Backend controllers
Add init.php script to plugins
Fixes https://github.com/octobercms/library/issues/106
2015-04-21 20:07:34 +10:00
gergo85
f0005d196b Cleanup
Remove whitespaces.
2015-01-03 12:41:23 +01:00
Stefan Talen
06890d711a Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
Conflicts:
	modules/backend/behaviors/UserPreferencesModel.php
	modules/cms/classes/Controller.php
	modules/system/classes/CombineAssets.php
2014-10-16 18:44:18 +02:00
Sam Georges
57ec5c7261 Moved asset combiner to the system module 2014-10-15 08:09:46 +11:00
Stefan Talen
40640d1923 Updating single files in modules/cms 2014-10-11 01:56:53 +02:00
Sam Georges
04bbad320f Fixes #347, Fixes #401 - Allow user routes to be registered before the CMS 2014-07-12 13:16:16 +10:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00