app/controllers/storytime/posts_controller.rb in storytime-1.0.5 vs app/controllers/storytime/posts_controller.rb in storytime-1.0.6
- old
+ new
@@ -22,10 +22,10 @@
end
def show
@post = if params[:preview]
post = Post.find_preview(params[:id])
- post.content = post.autosave.content if post.autosave
+ # post.content = post.autosave.content if post.autosave
post.preview = true
post
else
Post.published.friendly.find(params[:id])
end