Method: ActiveAdmin::Comments::ResourceHelper#comments?
- Defined in:
- lib/active_admin/orm/active_record/comments/resource_helper.rb
#comments? ⇒ Boolean
11 12 13 |
# File 'lib/active_admin/orm/active_record/comments/resource_helper.rb', line 11 def comments? (namespace.comments? && comments != false) || comments == true end |