Skip to content

Commit d12a1f1

Browse files
authored
Merge pull request #98 from yiisoft/remove-blog
Remove blog
2 parents be19f2e + 970192d commit d12a1f1

10 files changed

Lines changed: 0 additions & 512 deletions

File tree

config/routes.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
declare(strict_types=1);
44

55
use App\Auth\AuthController;
6-
use App\Blog\BlogController;
76
use App\InfoController;
87
use Yiisoft\Auth\Middleware\Authentication;
98
use Yiisoft\DataResponse\Middleware\FormatDataResponseAsHtml;
@@ -18,14 +17,6 @@
1817
->action([InfoController::class, 'index'])
1918
->name('api/info'),
2019

21-
Route::get('/blog/')
22-
->action([BlogController::class, 'index'])
23-
->name('blog/index'),
24-
25-
Route::get('/blog/{id:\d+}')
26-
->action([BlogController::class, 'view'])
27-
->name('blog/view'),
28-
2920
Route::post('/auth/')
3021
->action([AuthController::class, 'login'])
3122
->name('auth'),

src/Blog/BlogController.php

Lines changed: 0 additions & 141 deletions
This file was deleted.

src/Blog/BlogService.php

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/Blog/PageRequest.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/Blog/Post.php

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
 (0)