Sha256: 13ad1f376dc19072f6f33bb7858b4218bf3ae06dcc89edc3132a7280cdfa845f

Contents?: true

Size: 496 Bytes

Versions: 5

Compression:

Stored size: 496 Bytes

Contents

ActsAsFeatureable.setup do |config|
  # Set the maximum limit of features availible for your app.
  config.feature_limit = 10

  # Set the order of auto title assigning.
  config.auto_title_assign_list = [:title, :name]

  # Set the order of auto summary assigning.
  config.auto_summary_assign_list = [:summary, :caption, :tldr, :content, :text]

  # Limit the categories you wish to use.
  # => [:main, :articles, :images]
  # false allows unlimited categories.
  config.categories = false
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acts_as_featureable-0.0.7 lib/generators/templates/initializer.rb
acts_as_featureable-0.0.6 lib/generators/templates/initializer.rb
acts_as_featureable-0.0.5 lib/generators/templates/initializer.rb
acts_as_featureable-0.0.4 lib/generators/templates/initializer.rb
acts_as_featureable-0.0.3 lib/generators/templates/initializer.rb