Update SLUG field in server side post_create and put_update hooks.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user