# ===================================
#  Form Behavior Config
# ===================================

name: rainlab.blog::lang.blog.create_post
form: ~/plugins/rainlab/blog/models/post/fields.yaml
modelClass: RainLab\Blog\Models\Post
defaultRedirect: rainlab/blog/posts

create:
    redirect: rainlab/blog/posts/update/:id
    redirectClose: rainlab/blog/posts

update:
    redirect: rainlab/blog/posts
    redirectClose: rainlab/blog/posts
