Skip to content

Commit 6837cf5

Browse files
committed
guide editing & fixes
1 parent 6684233 commit 6837cf5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/guide/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ After migrating, we can finally access new section on `localhost/leads` and see
3939

4040
<img src="https://static.awes.io/docs/guide/01_basic_ui.png" alt="Awes.io">
4141

42-
New localization file will also be created within the `resources/lang` directory, thanks to `awes-io/localization-helper` package, which we'll discuss later.
42+
Note that, new localization file will also be created within the `resources/lang` directory, thanks to the `awes-io/localization-helper` package, which we'll discuss later.
4343

4444
## Controller
4545

46-
Let's check out the newly generated controller. It includes several methods, firstly `constructor`, in which we're injecting repository (more on this later):
46+
Let's check out the newly generated controller. It includes several methods, firstly `constructor`, in which repository instance is injected (more on this later):
4747

4848
```php
4949
public function __construct(LeadRepository $leads)
@@ -52,7 +52,7 @@ public function __construct(LeadRepository $leads)
5252
}
5353
```
5454

55-
`Index` method, where we return auto-generated blade template, as well as page title and all leads:
55+
`Index` method, where auto-generated blade template, as well as page title and all records, are returned:
5656

5757
```php
5858
public function index(Request $request)
@@ -64,9 +64,9 @@ public function index(Request $request)
6464
}
6565
```
6666

67-
`_p($file_key, $default, $placeholders)` is a helper function from our localization package, [more info is available in documentation](https://github.com/awes-io/localization-helper).
67+
> `_p($file_key, $default, $placeholders)` is a helper function from our localization package, [more info is available in documentation](https://github.com/awes-io/localization-helper).
6868
69-
Scope method, which is used to retrieve, filter and sort lead records (more on this later):
69+
And `scope` method, which is used to retrieve, filter and sort leads records (more on this later):
7070

7171
```php
7272
public function scope(Request $request)
@@ -77,7 +77,7 @@ public function scope(Request $request)
7777
}
7878
```
7979

80-
We're also paginating results and transforming response data via auto-generated API resource class.
80+
Here we're also paginating results and transforming response data via auto-generated API resource class.
8181

8282
## Model
8383

0 commit comments

Comments
 (0)