Module: ActiveAdmin::Comments::NamespaceHelper

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

Instance Method Summary collapse

Instance Method Details

#comments?Boolean

Returns true if the namespace allows comments

Returns:

  • (Boolean)


8
9
10
# File 'lib/active_admin/orm/active_record/comments/namespace_helper.rb', line 8

def comments?
  comments == true
end