app/controllers/phcpresspro/blog/posts_controller.rb in phcpresspro-3.0.6 vs app/controllers/phcpresspro/blog/posts_controller.rb in phcpresspro-3.0.7
- old
+ new
@@ -56,10 +56,10 @@
@blog_post = Blog::Post.find(params[:id])
end
# Whitelist on what can be posted
def blog_post_params
- params.require(:blog_post).permit(:blogpsttitle, :blogpsttext, :blogpstexcerpts, :pststatus, :pstimage, :remove_pstimage, category_id, :user_id)
+ params.require(:blog_post).permit(:blogpsttitle, :blogpsttext, :blogpstexcerpts, :pststatus, :pstimage, :remove_pstimage, :category_id, :user_id)
end
end
end