Sha256: 793cab1a25ae5229a90c2d35f99fcf639376f2428855dcc65438499e6f14f435

Contents?: true

Size: 491 Bytes

Versions: 5

Compression:

Stored size: 491 Bytes

Contents

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

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

5 entries across 5 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-3.2.11 config/initializers/concern_action.rb
thecore_ui_rails_admin-3.2.10 config/initializers/concern_action.rb
thecore_ui_rails_admin-3.2.9 config/initializers/concern_action.rb
thecore_ui_rails_admin-3.2.8 config/initializers/concern_action.rb
thecore_ui_rails_admin-3.2.7 config/initializers/concern_action.rb