app/controllers/phcpress/blog/posts_controller.rb in phcpress-0.7.9 vs app/controllers/phcpress/blog/posts_controller.rb in phcpress-0.7.11
- old
+ new
@@ -59,10 +59,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, :pststatus)
+ params.require(:blog_post).permit(:blogpsttitle, :blogpsttext, :blogpstexcerpts, :pststatus)
end
end
end