Module: ActiveAdmin::Comments::ResourceHelper

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_admin/orm/active_record/comments/resource_helper.rb

Instance Method Summary collapse

Instance Method Details

#comments?Boolean



11
12
13
# File 'lib/active_admin/orm/active_record/comments/resource_helper.rb', line 11

def comments?
  namespace.comments? && comments != false
end