Update SLUG field in server side post_create and put_update hooks.

This commit is contained in:
2022-06-30 15:00:18 +02:00
parent 49896d6978
commit dbbd7c63ed
7 changed files with 55 additions and 14 deletions

View File

@@ -107,15 +107,15 @@ permissions:
put: false
delete: false
# hooks:
# post:
# create:
# type: javascript
# file: hooks/article/post_create.js
# put:
# update:
# type: javascript
# file: hooks/article/put_return.js
hooks:
post:
create:
type: javascript
file: hooks/articles/post_create.js
put:
update:
type: javascript
file: hooks/articles/put_update.js
fields:
- !include fields/article/_article.yml