Sha256: ae35976f722416f0e25fbfd2bb45203d8aaab5f8aad0de4348b92165b54d4947

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

Ecm::Tags.configure do |config|
  # Set the base controller
  #
  # Default: config.base_controller = '<%= base_controller_class_name %>'
  #
  config.base_controller = '<%= base_controller_class_name %>'

  # Add a submit button to the tag search box.
  #
  # Default: config.add_submit_button_to_search_box = true
  # 
  config.add_submit_button_to_search_box = true

  # Use exact search by default or not.
  #
  # Default: config.tag_search_exact_default_value = false
  # 
  config.tag_search_exact_default_value = false

  # Specify the models to be tagged.
  # 
  # Default: config.taggable_class_names = %w()
  #
  config.taggable_class_names = %w()
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecm_tags-2.2.1 lib/generators/ecm/tags/install/templates/initializer.rb