Sha256: 47cedc3ad8e35828f44e0b8b558ccc0d737cdcec4e1ca35371458b05212f82ed
Contents?: true
Size: 312 Bytes
Versions: 32
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true module ActiveAdmin module Comments module ResourceHelper extend ActiveSupport::Concern included do attr_accessor :comments end def comments? (namespace.comments? && comments != false) || comments == true end end end end
Version data entries
32 entries across 32 versions & 1 rubygems