Skip to content

Commit

Permalink
Merge pull request #29 from jdkfx/fix/#4
Browse files Browse the repository at this point in the history
🐛 BlogControllerの修正
  • Loading branch information
jdkfx authored Feb 16, 2022
2 parents e86c9b3 + c9ff14c commit 8133a22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/Controllers/BlogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ public function store($request)
{
$blog = new Blog();
$view = new View();
$validate = new parent(new CsrfToken());

parent::tokenValidate($request['token']);
$validate->tokenValidate($request['token']);

$blog->store($request);

Expand Down
1 change: 1 addition & 0 deletions src/log/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.log
1 change: 1 addition & 0 deletions src/log/error.log
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[2022-02-15T10:58:52.083263+00:00] error.INFO: /var/www/app/Routers/Router.php 34 error! [] []
[2022-02-16T12:44:18.009647+00:00] error.INFO: /var/www/app/Routers/Router.php 34 error! [] []

0 comments on commit 8133a22

Please sign in to comment.