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.38.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.37.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.36.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.35.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.34.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.33.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.32.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.31.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.30.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.29.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.28.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.27.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.26.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.25.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.24.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.22.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.21.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.20.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.19.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb
cmor_tags_backend-0.0.18.pre lib/generators/cmor/tags/backend/install/templates/initializer.rb