Commit 71fbb91a by tady

set paper_trail on Post

parent dcd1f56a
......@@ -18,6 +18,9 @@ require 'date'
class Post < ActiveRecord::Base
include HipchatIntegration if Settings.respond_to?(:hipchat)
# for versioning
has_paper_trail
######################################################################
# Associations
######################################################################
......
......@@ -38,10 +38,13 @@
.well.detail-wrapper style="margin-top:20px"
dl
dt 作成
dt 最終編集
dd
a href=(search_path(q: "@#{@post.author.nickname}"))
| @#{@post.author.name}
= @post.author.name
dt 最終編集者
dd 調整中
dt タグ
dd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment