Skip to content

Commit 030df9e

Browse files
authored
Merge pull request #7632 from Newnab/v17/cms/routing-review-and-warning-removal
Remove warning from routing page
2 parents 2e2bcb2 + 6aa142d commit 030df9e

File tree

2 files changed

+10
-18
lines changed
  • 16/umbraco-cms/customizing/foundation
  • 17/umbraco-cms/customizing/foundation

2 files changed

+10
-18
lines changed

16/umbraco-cms/customizing/foundation/routes.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ description: Get started with Routing in the backoffice.
44

55
# Routes
66

7-
{% hint style="warning" %}
8-
This page is a work in progress and may undergo further revisions, updates, or amendments. The information contained herein is subject to change without notice.
9-
{% endhint %}
10-
117
## Routing
128

139
The routing in the backoffice is flexible and customizable. In this article, you can find a couple of starting points for routing.
@@ -23,7 +19,11 @@ Depending on which section you are working on, there are different options:
2319

2420
### Building routing
2521

26-
Almost any component can host routable sub-components by defining a list of routes and render a `umb-router-slot` element. Let's assume we have a **custom section** with pathname `custom-section` and a **section view** with pathname `organization`. In this context we can create an element with routes, like this:
22+
Almost any component can host routable sub-components by defining a list of routes and rendering a `umb-router-slot` element. Let's assume we have a **custom section** with pathname `custom-section` and a **section view** with pathname `organization`. In this context, we can create an element with routes, like shown below.
23+
24+
{% hint style="info" %}
25+
The order in which the routes are defined is important as the first match will be used. So make sure to add more specific routes in the beginning.
26+
{% endhint %}
2727

2828
```typescript
2929
@state()
@@ -53,10 +53,6 @@ _routes: UmbRoute[] = [
5353
];
5454
```
5555

56-
{% hint style="info" %}
57-
The order in which the routes are defined is important as the first match will be used. So make sure to add more specific routes in the beginning.
58-
{% endhint %}
59-
6056
In the render method of the element, render the `umb-router-slot`:
6157

6258
```html

17/umbraco-cms/customizing/foundation/routes.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ description: Get started with Routing in the backoffice.
44

55
# Routes
66

7-
{% hint style="warning" %}
8-
This page is a work in progress and may undergo further revisions, updates, or amendments. The information contained herein is subject to change without notice.
9-
{% endhint %}
10-
117
## Routing
128

139
The routing in the backoffice is flexible and customizable. In this article, you can find a couple of starting points for routing.
@@ -23,7 +19,11 @@ Depending on which section you are working on, there are different options:
2319

2420
### Building routing
2521

26-
Almost any component can host routable sub-components by defining a list of routes and render a `umb-router-slot` element. Let's assume we have a **custom section** with pathname `custom-section` and a **section view** with pathname `organization`. In this context we can create an element with routes, like this:
22+
Almost any component can host routable sub-components by defining a list of routes and rendering a `umb-router-slot` element. Let's assume we have a **custom section** with pathname `custom-section` and a **section view** with pathname `organization`. In this context, we can create an element with routes, like shown below.
23+
24+
{% hint style="info" %}
25+
The order in which the routes are defined is important as the first match will be used. So make sure to add more specific routes in the beginning.
26+
{% endhint %}
2727

2828
```typescript
2929
@state()
@@ -53,10 +53,6 @@ _routes: UmbRoute[] = [
5353
];
5454
```
5555

56-
{% hint style="info" %}
57-
The order in which the routes are defined is important as the first match will be used. So make sure to add more specific routes in the beginning.
58-
{% endhint %}
59-
6056
In the render method of the element, render the `umb-router-slot`:
6157

6258
```html

0 commit comments

Comments
 (0)