Sha256: 217c4bb15d681f0acaa401d6771d595de5999affaf74c038b052b0eef2860153

Contents?: true

Size: 492 Bytes

Versions: 15

Compression:

Stored size: 492 Bytes

Contents

puts "Role Concern from ThecoreUiRailsAdmin"
require 'active_support/concern'

module ThecoreUiRailsAdminPredicateConcern
    extend ActiveSupport::Concern
    
    included do
        
        rails_admin do
            navigation_label I18n.t("admin.settings.label")
            navigation_icon 'fas fa-users'
            desc I18n.t("activerecord.descriptions.role")
            
            visible false

            exclude_fields :id, :lock_version, :updated_at
        end
    end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-3.2.6 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.2.5 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.2.4 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.2.3 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.2.2 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.2.1 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.2.0 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.1.6 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.1.5 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.1.4 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.1.3 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.1.2 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.1.1 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.1.0 config/initializers/concern_predicate.rb
thecore_ui_rails_admin-3.0.19 config/initializers/concern_predicate.rb