app/commands/decidim/blogs/admin/create_post.rb in decidim-blogs-0.24.3 vs app/commands/decidim/blogs/admin/create_post.rb in decidim-blogs-0.25.0.rc1
- old
+ new
@@ -30,10 +30,10 @@
def create_post!
attributes = {
title: @form.title,
body: @form.body,
component: @form.current_component,
- author: @current_user
+ author: @form.author
}
@post = Decidim.traceability.create!(
Post,
@current_user,