12 lines
187 B
Ruby
12 lines
187 B
Ruby
module Event::Comment
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
store_accessor :particulars, :comment_id
|
|
end
|
|
|
|
def comment
|
|
@comment ||= Comment.find(comment_id)
|
|
end
|
|
end
|