aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/routing/report.yml
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/config/default/routing/report.yml')
-rw-r--r--phpBB/config/default/routing/report.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/phpBB/config/default/routing/report.yml b/phpBB/config/default/routing/report.yml
new file mode 100644
index 0000000000..dbe2d853c0
--- /dev/null
+++ b/phpBB/config/default/routing/report.yml
@@ -0,0 +1,17 @@
+phpbb_report_pm_controller:
+ path: /pm/{id}/report
+ methods: [GET, POST]
+ defaults:
+ _controller: phpbb.report.controller:handle
+ mode: "pm"
+ requirements:
+ id: \d+
+
+phpbb_report_post_controller:
+ path: /post/{id}/report
+ methods: [GET, POST]
+ defaults:
+ _controller: phpbb.report.controller:handle
+ mode: "post"
+ requirements:
+ id: \d+