Sha256: adbafb18ba1ac1d06381d59fe5baf4351838e8c5d6745776eec57168866e68ec

Contents?: true

Size: 489 Bytes

Versions: 15

Compression:

Stored size: 489 Bytes

Contents

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

15 entries across 15 versions & 1 rubygems

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