mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX: backwards compatibility with 2.4 routes.
This commit is contained in:
parent
715576797f
commit
f382617e59
9
_config/routes.yml
Normal file
9
_config/routes.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
Name: commentroutes
|
||||||
|
After: framework/routes#coreroutes
|
||||||
|
---
|
||||||
|
Director:
|
||||||
|
rules:
|
||||||
|
# handle old 2.4 style urls
|
||||||
|
'PageComments/$Action/$ID': 'CommentingController'
|
||||||
|
'PageComments_Controller/$Action/$ID': 'CommentingController'
|
Loading…
Reference in New Issue
Block a user