app/controllers/phcpress/blog/posts_controller.rb in phcpress-2.8.8 vs app/controllers/phcpress/blog/posts_controller.rb in phcpress-2.8.9

- old
+ new

@@ -28,10 +28,10 @@ def edit end # Create News Post /news/posts/new def create - @blog_post = Blog::Post.(blog_post_params) + @blog_post = Blog::Post.new(blog_post_params) @blog_post.user_id = current_user.id if @blog_post.save redirect_to blog_posts_path, notice: 'Blog post was successfully created.' else render 'new'