Sha256: 0208daa5b08fcdec96345903e15e9f50855ee5484a58a7b69e26474c1c02b05c

Contents?: true

Size: 963 Bytes

Versions: 57

Compression:

Stored size: 963 Bytes

Contents

Cmor::Tags::Backend.configure do |config|
  # Set the resources, that will be shown in the backend menu.
  #
  # Default: config.registered_controllers = -> {[
  #            Cmor::Tags::Backend::TagsController,
  #            Cmor::Tags::Backend::TaggingsController
  # ]}
  #
  config.registered_controllers = lambda {
    [
      Cmor::Tags::Backend::TagsController,
      Cmor::Tags::Backend::TaggingsController
    ]
  }

  # Set the services, that will be shown in the backend menu.
  #
  # Default: config.registered_services = -> {[
  #          ]}
  #
  config.registered_services = lambda {
    [
    ]
  }

  # Specify the models that can be tagged.
  #
  # Default: config.taggable_class_names = <%= taggable_classes %>
  #
  config.taggable_class_names = <%= taggable_classes %>

  # Specify the models the can tag things.
  #
  # Default: config.tagger_class_names = <%= tagger_classes %>
  #
  config.tagger_class_names = <%= tagger_classes %>
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
cmor_tags_backend-0.0.60.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.59.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.58.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.57.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.56.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.55.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.54.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.53.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.52.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.51.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.50.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.49.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.48.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.45.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.44.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.43.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.42.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.41.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.40.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.39.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb