refactor comment system into comments plugin
This commit is contained in:
parent
31844269c0
commit
fb36329556
8 changed files with 134 additions and 101 deletions
9
public/site/plugins/comments/index.php
Normal file
9
public/site/plugins/comments/index.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
Kirby::plugin('adrienpayet/pdc-comments', [
|
||||
'routes' => [
|
||||
require(__DIR__ . '/routes/create.php'),
|
||||
require(__DIR__ . '/routes/update.php'),
|
||||
require(__DIR__ . '/routes/delete.php'),
|
||||
]
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue