Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Damon Chen
practice_api
Commits
afe63bc6
Commit
afe63bc6
authored
2 years ago
by
Damon Chen
Browse files
Options
Download
Patches
Plain Diff
comment logic done-----
parent
8326b293
No related merge requests found
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
app/Http/Controllers/Api/ArticleController.php
+11
-4
app/Http/Controllers/Api/ArticleController.php
app/Http/Controllers/Api/CommentController.php
+23
-4
app/Http/Controllers/Api/CommentController.php
app/Http/Controllers/Api/PostController.php
+6
-3
app/Http/Controllers/Api/PostController.php
app/Http/Requests/StoreCommentRequest.php
+7
-2
app/Http/Requests/StoreCommentRequest.php
app/Http/Resources/ArticleResource.php
+9
-1
app/Http/Resources/ArticleResource.php
app/Http/Resources/CommentResource.php
+9
-1
app/Http/Resources/CommentResource.php
app/Models/Comment.php
+1
-1
app/Models/Comment.php
routes/api.php
+3
-0
routes/api.php
with
69 additions
and
16 deletions
+69
-16
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets