lib/enjoy/faq/models/mongoid/question.rb in enjoy_cms_faq-0.3.0.2 vs lib/enjoy/faq/models/mongoid/question.rb in enjoy_cms_faq-0.3.1
- old
+ new
@@ -5,9 +5,12 @@
extend ActiveSupport::Concern
include Enjoy::HtmlField
included do
+ if defined?(RailsAdminComments)
+ include RailsAdminComments::Commentable
+ end
field :question_text
enjoy_cms_html_field :question_text_after_editing, localize: Enjoy.configuration.localize
field :author_name
field :author_name_text_after_editing, localize: Enjoy.configuration.localize