Sha256: 8c5f9af6673d945411b671c65a64757cdac8478f2851071f09b965890aacda3f

Contents?: true

Size: 201 Bytes

Versions: 66

Compression:

Stored size: 201 Bytes

Contents

module ActiveAdmin
  module Comments

    module NamespaceHelper

      # Returns true of the namespace allows comments
      def comments?
        allow_comments == true
      end

    end

  end
end

Version data entries

66 entries across 66 versions & 4 rubygems

Version Path
activeadmin-0.4.1 lib/active_admin/comments/namespace_helper.rb
activeadmin-0.4.0 lib/active_admin/comments/namespace_helper.rb
andrewroth_activeadmin-0.3.4.4 lib/active_admin/comments/namespace_helper.rb
andrewroth_activeadmin-0.3.4.3 lib/active_admin/comments/namespace_helper.rb
andrewroth_activeadmin-0.3.4.2 lib/active_admin/comments/namespace_helper.rb
andrewroth_activeadmin-0.3.4.1 lib/active_admin/comments/namespace_helper.rb