Commit 9da6423a by Qiang Xue

Merge pull request #3080 from castea-webdev/patch-1

Update apps-advanced.md
parents 8eddf560 cf9795ba
...@@ -180,7 +180,7 @@ Creating links from backend to frontend ...@@ -180,7 +180,7 @@ Creating links from backend to frontend
--------------------------------------- ---------------------------------------
Often it's required to create links from backend application to frontend application. Since frontend application may Often it's required to create links from backend application to frontend application. Since frontend application may
contain its own URL manager rules you need to duplicate that for backend application naming it differently: contain its own URL manager rules you need to duplicate that for backend application by naming it differently:
```php ```php
return [ return [
...@@ -196,7 +196,7 @@ return [ ...@@ -196,7 +196,7 @@ return [
]; ];
``` ```
After it is done you can get URL poiting to frontend like the following: After it is done, you can get URL pointing to frontend like the following:
```php ```php
echo Yii::$app->urlManagerFrontend->createUrl(...); echo Yii::$app->urlManagerFrontend->createUrl(...);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment