app/controllers/admin/posts_controller.rb in tb_blog-1.4.beta1 vs app/controllers/admin/posts_controller.rb in tb_blog-1.4.0
- old
+ new
@@ -49,10 +49,9 @@
SpudPost.find_by!(id: params[:post_id])
else
SpudPost.new
end
@post.assign_attributes(post_params)
- @post.postprocess_content()
render template: post_view_for_action(:show), controller: :posts, layout: @config.layout
end
def render_preview
render template: post_view_for_action(:show), controller: :posts, layout: @config.layout