From c4c598000b2c8453722011453aaa94e256fee9d2 Mon Sep 17 00:00:00 2001 From: Kairat Jenishev Date: Thu, 29 Mar 2018 14:07:57 +0600 Subject: [PATCH] Update 02_Routing.md --- docs/en/02_Developer_Guides/02_Controllers/02_Routing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md b/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md index 247db483a..906aa5fc3 100644 --- a/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md +++ b/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md @@ -204,10 +204,9 @@ class FeedController extends ContentController /* more processing goes here */ } } +``` -The YAML rule, in contrast, is simple. It needs to provide only enough -information for the framework to choose the desired controller. - +The YAML rule, in contrast, is simple. It needs to provide only enough information for the framework to choose the desired controller. ```yml Director: @@ -218,6 +217,7 @@ Director: ## Related Lessons * [Creating filtered views](https://www.silverstripe.org/learn/lessons/v4/creating-filtered-views-1) * [Controller actions / DataObjects as pages](https://www.silverstripe.org/learn/lessons/v4/controller-actions-dataobjects-as-pages-1) + ## Links * [Controller](api:SilverStripe\Control\Controller) API documentation