From ac0ff219c61bd187dd3fbde5b6808624bd8ef077 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 19 Nov 2014 20:04:00 +0100 Subject: [ticket/12620] Move the routing.yml file to routing/environment.yml PHPBB3-12620 --- phpBB/config/default/routing/routing.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 phpBB/config/default/routing/routing.yml (limited to 'phpBB/config/default/routing/routing.yml') diff --git a/phpBB/config/default/routing/routing.yml b/phpBB/config/default/routing/routing.yml new file mode 100644 index 0000000000..d8e890d063 --- /dev/null +++ b/phpBB/config/default/routing/routing.yml @@ -0,0 +1,9 @@ +# Structure: +# +# foo_controller: +# pattern: /foo +# defaults: { _controller: foo_sevice:method } +# +# The above will be accessed via app.php?controller=foo and it will +# instantiate the "foo_service" service and call the "method" method. +# -- cgit v1.2.1 From 0595ab959ca65a99befafc1d885e56a838819c6a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sun, 22 Feb 2015 20:17:37 +0100 Subject: [ticket/13647] Move FAQ page to a controller PHPBB3-13647 --- phpBB/config/default/routing/routing.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'phpBB/config/default/routing/routing.yml') diff --git a/phpBB/config/default/routing/routing.yml b/phpBB/config/default/routing/routing.yml index 94146e1ec2..d6881f1959 100644 --- a/phpBB/config/default/routing/routing.yml +++ b/phpBB/config/default/routing/routing.yml @@ -7,3 +7,7 @@ # The above will be accessed via app.php?controller=foo and it will # instantiate the "foo_service" service and call the "method" method. # + +phpbb_help_routing: + resource: "help.yml" + prefix: /help -- cgit v1.2.1 From a089ff5eb0dcdab83c6c2e64cb0e7cb618aec41f Mon Sep 17 00:00:00 2001 From: MateBartus Date: Wed, 25 Feb 2015 21:13:20 +0100 Subject: [ticket/13654] Moving reporting into controller Moving report.php's content into different services and controllers to better comply with the MVC model. Also implementing: * Replacement for reasons_display() * Adding assign_meta_refresh_var() to \controller\helper * Adding separate routes for easy configuration * Updating unit tests to expect to correct results * Add BC tests PHPBB3-13654 --- phpBB/config/default/routing/routing.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'phpBB/config/default/routing/routing.yml') diff --git a/phpBB/config/default/routing/routing.yml b/phpBB/config/default/routing/routing.yml index d6881f1959..b7e7a69b4f 100644 --- a/phpBB/config/default/routing/routing.yml +++ b/phpBB/config/default/routing/routing.yml @@ -11,3 +11,6 @@ phpbb_help_routing: resource: "help.yml" prefix: /help + +phpbb_report_routing: + resource: "report.yml" -- cgit v1.2.1 From 8e5e954438b232f4ce7aec6a5db3d52b974c07a8 Mon Sep 17 00:00:00 2001 From: Nicofuma Date: Sun, 22 Feb 2015 23:36:27 +0100 Subject: [ticket/13645] Move the feeds to controllers PHPBB3-13645 --- phpBB/config/default/routing/routing.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'phpBB/config/default/routing/routing.yml') diff --git a/phpBB/config/default/routing/routing.yml b/phpBB/config/default/routing/routing.yml index b7e7a69b4f..073984841a 100644 --- a/phpBB/config/default/routing/routing.yml +++ b/phpBB/config/default/routing/routing.yml @@ -8,6 +8,14 @@ # instantiate the "foo_service" service and call the "method" method. # +phpbb_feed_routing: + resource: "feed.yml" + prefix: /feed + +phpbb_feed_index: + path: /feed + defaults: { _controller: phpbb.feed.controller:overall } + phpbb_help_routing: resource: "help.yml" prefix: /help -- cgit v1.2.1 From d9d89cad94eada62e900a012046b8d45c5aa3129 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 7 Dec 2015 13:11:22 -0800 Subject: [ticket/14247] Use quotes around @ and % strings in YAML PHPBB3-14247 --- phpBB/config/default/routing/routing.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'phpBB/config/default/routing/routing.yml') diff --git a/phpBB/config/default/routing/routing.yml b/phpBB/config/default/routing/routing.yml index 073984841a..f381f024ad 100644 --- a/phpBB/config/default/routing/routing.yml +++ b/phpBB/config/default/routing/routing.yml @@ -5,11 +5,11 @@ # defaults: { _controller: foo_sevice:method } # # The above will be accessed via app.php?controller=foo and it will -# instantiate the "foo_service" service and call the "method" method. +# instantiate the 'foo_service' service and call the 'method' method. # phpbb_feed_routing: - resource: "feed.yml" + resource: feed.yml prefix: /feed phpbb_feed_index: @@ -17,8 +17,8 @@ phpbb_feed_index: defaults: { _controller: phpbb.feed.controller:overall } phpbb_help_routing: - resource: "help.yml" + resource: help.yml prefix: /help phpbb_report_routing: - resource: "report.yml" + resource: report.yml -- cgit v1.2.1