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)


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

def comments?
  comments == true
end