Module: ActiveAdmin::Comments::NamespaceHelper

Defined in:
lib/active_admin/comments/namespace_helper.rb

Instance Method Summary collapse

Instance Method Details

#comments?Boolean

Returns true of the namespace allows comments

Returns:

  • (Boolean)


7
8
9
# File 'lib/active_admin/comments/namespace_helper.rb', line 7

def comments?
  allow_comments == true
end