File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -5,25 +5,27 @@ A new open-source tool being developed to provide rapidly generate multiple Lara
5
5
6
6
** Example Syntax**
7
7
``` yaml
8
- Post :
9
- id
10
- title : string
11
- content : bigtext
12
- published_at : nullable timestamp
13
- timestamps
8
+ models :
9
+ Post :
10
+ id
11
+ title : string
12
+ content : bigtext
13
+ published_at : nullable timestamp
14
+ timestamps
14
15
15
- PostController :
16
- index :
17
- query : all posts
18
- render : post.index with posts
16
+ controllers :
17
+ PostController :
18
+ index :
19
+ query : all posts
20
+ render : post.index with posts
19
21
20
- store :
21
- validate : title, content
22
- save : post
23
- send : ReviewNotifcation to post.author
24
- queue : SyncMedia
25
- flash : post.title
26
- redirect : post.index
22
+ store :
23
+ validate : title, content
24
+ save : post
25
+ send : ReviewNotifcation to post.author
26
+ queue : SyncMedia
27
+ flash : post.title
28
+ redirect : post.index
27
29
` ` `
28
30
29
31
**Generated Components**
You can’t perform that action at this time.
0 commit comments