Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 1900eb1

Browse files
Foxandxsswardbell
authored andcommitted
docs: replace terminal with pathMatch, base href with '/'
closes #1799
1 parent 527fe50 commit 1900eb1

File tree

12 files changed

+24
-20
lines changed

12 files changed

+24
-20
lines changed

public/docs/_examples/router/ts/app/crisis-center/crisis-center.routes.2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const CrisisCenterRoutes: RouterConfig = [
1010
{
1111
path: '',
1212
redirectTo: '/crisis-center',
13-
terminal: true
13+
pathMatch: 'full'
1414
},
1515
// #enddocregion redirect
1616
{

public/docs/_examples/router/ts/app/crisis-center/crisis-center.routes.3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const CrisisCenterRoutes: RouterConfig = [
1212
{
1313
path: '',
1414
redirectTo: '/crisis-center',
15-
terminal: true
15+
pathMatch: 'full'
1616
},
1717
{
1818
path: 'crisis-center',

public/docs/_examples/router/ts/app/crisis-center/crisis-center.routes.4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const CrisisCenterRoutes: RouterConfig = [
1313
{
1414
path: '',
1515
redirectTo: '/crisis-center',
16-
terminal: true
16+
pathMatch: 'full'
1717
},
1818
{
1919
path: 'crisis-center',

public/docs/_examples/router/ts/app/crisis-center/crisis-center.routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const CrisisCenterRoutes: RouterConfig = [
1212
{
1313
path: '',
1414
redirectTo: '/crisis-center',
15-
terminal: true
15+
pathMatch: 'full'
1616
},
1717
{
1818
path: 'crisis-center',

public/docs/_examples/router/ts/index.1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html>
44
<head>
55
<!-- #docregion base-href -->
6-
<base href=".">
6+
<base href="/">
77
<!-- #enddocregion base-href -->
88
<title>Router Sample v.1</title>
99
<meta charset="UTF-8">

public/docs/_examples/router/ts/index.2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- #docregion -->
33
<html>
44
<head>
5-
<base href=".">
5+
<base href="/">
66
<title>Router Sample v.2</title>
77
<meta charset="UTF-8">
88
<meta name="viewport" content="width=device-width, initial-scale=1">

public/docs/_examples/router/ts/index.3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- #docregion -->
33
<html>
44
<head>
5-
<base href=".">
5+
<base href="/">
66
<title>Router Sample v.3</title>
77
<meta charset="UTF-8">
88
<meta name="viewport" content="width=device-width, initial-scale=1">

public/docs/_examples/router/ts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<html>
55
<head>
66
<!-- Set the base href -->
7-
<base href=".">
7+
<base href="/">
88
<title>Router Sample</title>
99
<meta charset="UTF-8">
1010
<meta name="viewport" content="width=device-width, initial-scale=1">

public/docs/_examples/toh-5/ts/app/app.routes.1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const routes: RouterConfig = [
1111
{
1212
path: '',
1313
redirectTo: '/dashboard',
14-
terminal: true
14+
pathMatch: 'full'
1515
},
1616
// #enddocregion redirect-route
1717
// #docregion dashboard-route

public/docs/_examples/toh-5/ts/app/app.routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const routes: RouterConfig = [
1111
{
1212
path: '',
1313
redirectTo: '/dashboard',
14-
terminal: true
14+
pathMatch: 'full'
1515
},
1616
{
1717
path: 'dashboard',

0 commit comments

Comments
 (0)