Sha256: 19741f2962b18a0d2c44eb78646df10c9a8301eef2469bf11c66ec9ae3bad373

Contents?: true

Size: 422 Bytes

Versions: 25

Compression:

Stored size: 422 Bytes

Contents

module Cmor
  module Core
    module Frontend
      module Configuration
        def configure
          yield self
        end

        mattr_accessor(:first_breadcrumb) do
          ->() { Cmor::Core::Frontend::Breadcrumb::Base.new(label: t('.home'), url: c.main_app.root_path) }
        end

        mattr_accessor(:resource_label_methods) do
          %i(human name email to_s)
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
cmor_core_frontend-0.0.60.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.59.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.58.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.57.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.56.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.55.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.54.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.53.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.52.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.51.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.50.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.49.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.48.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.45.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.44.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.43.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.42.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.41.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.40.pre lib/cmor/core/frontend/configuration.rb
cmor_core_frontend-0.0.39.pre lib/cmor/core/frontend/configuration.rb