Sha256: 4e8d3b937543bf3d4bb7d942f0cd881e3d5c2bcd77b039bfc28b855850346d62

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 Bytes

Contents

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

module ThecoreUiRailsAdminTargetConcern
    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

3 entries across 3 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-3.2.9 config/initializers/concern_target.rb
thecore_ui_rails_admin-3.2.8 config/initializers/concern_target.rb
thecore_ui_rails_admin-3.2.7 config/initializers/concern_target.rb