Permalink
Browse files

Merge pull request #189 from rono23/fix-preview

Fix preview
  • Loading branch information...
2 parents d174e1a + e9cdde8 commit ec709f44963f6d9349f1e98106b6f532bbe3e0e6 @komagata komagata committed Mar 7, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/lokka/helpers/helpers.rb
@@ -116,6 +116,7 @@ def render_preview(entry)
@entry.user = current_user
@entry.title << ' - Preview'
@entry.updated_at = DateTime.now
+ @comment = @entry.comments.new
setup_and_render_entry
end

0 comments on commit ec709f4

Please sign in to comment.