Sha256: 41d1216c397c143416878a85529b406a7a6c6763a69e61d6713a57e353fbd32e

Contents?: true

Size: 401 Bytes

Versions: 22

Compression:

Stored size: 401 Bytes

Contents

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

module ThecoreUiRailsAdminSettingsConcern
  extend ActiveSupport::Concern
  included do
    rails_admin do
      navigation_icon 'fa fa-cogs'
    end

    def display_name
      "#{I18n.t "settings.namespaces.#{ns}", default: ns.titleize}: #{I18n.t "settings.names.#{name}", default: name.titleize}"
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-3.2.11 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.10 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.9 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.8 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.7 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.6 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.5 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.4 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.3 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.2 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.1 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.2.0 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.1.6 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.1.5 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.1.4 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.1.3 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.1.2 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.1.1 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.1.0 config/initializers/concern_settings.rb
thecore_ui_rails_admin-3.0.19 config/initializers/concern_settings.rb