Module: ActiveAdmin::Comments::ResourceHelper

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

Instance Method Summary collapse

Instance Method Details

#comments?Boolean

Returns:

  • (Boolean)


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

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