Sha256: 20b7e9bd2263568e865fe9db2cfdf02abda46712a6a56dccb2f6a47d886bf273

Contents?: true

Size: 489 Bytes

Versions: 15

Compression:

Stored size: 489 Bytes

Contents

puts "Role 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

15 entries across 15 versions & 1 rubygems

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