Skip to content

Commit 149dcbf

Browse files
committed
quickstart: uses services.neon
1 parent 6b8899d commit 149dcbf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cs/quickstart/refactoring-model.texy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ final class PostFacade
3838

3939
Ve třídě si pomocí konstruktoru necháme předat databázový Explorer:[api:Nette\Database\Explorer]. Využijeme tak síly [DI containeru|/di-passing-dependencies].
4040

41-
Ještě do souboru `config/common.neon` v sekci services přidáme řádek s celým názvem třídy:
41+
Ještě do souboru `config/services.neon` v sekci services přidáme řádek s celým názvem třídy:
4242

43-
```neon .{data-file:config/common.neon}
43+
```neon .{data-file:config/services.neon}
4444
services:
4545
- App\Router\RouterFactory::createRouter
4646
- App\Model\PostFacade

en/quickstart/refactoring-model.texy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ final class PostFacade
3737

3838
In the class we pass the database Explorer:[api:Nette\Database\Explorer]. This will take advantage of the power of [DI container|/di-passing-dependencies].
3939

40-
Add a line with the full class name to the `config/common.neon` file in the services section:
40+
Add a line with the full class name to the `config/services.neon` file in the services section:
4141

42-
```neon
42+
```neon .{data-file:config/services.neon}
4343
services:
4444
- App\Router\RouterFactory::createRouter
4545
- App\Model\PostFacade

0 commit comments

Comments
 (0)