Sha256: e7be611f37a4d49bbb1c63590ece2fcd2ac3a7279d82ac77e144b7974bc4dcd4

Contents?: true

Size: 1.3 KB

Versions: 5

Compression:

Stored size: 1.3 KB

Contents

Weeler.setup do |config|

  # Use Weeler I18n transaltion engine (ActiveRecord store).
  #
  # config.use_weeler_i18n = true
  # config.create_missing_translations = true # Create translation in database if it missing

  # Require user method weeler use in before filter. (e.g. require_user)
  #
  # config.required_user_method = nil

  # You can define logout path (e.g. "/logout")
  #
  # config.logout_path = nil

  # Menu items in Content section. There you must create resources in app.
  #
  # config.content_menu_items = []

  # If you don't want to create model in your app and use only single page CMS, then you should use this property.
  # e.g. {about: ['about_us.title', 'about_us.about_text_html', 'about_us.our_company', 'about_us.our_company_text_html']}
  #
  #
  # config.static_sections = [] # Menu items in Content section under Static. Resourses uses I18n translaitons

  # Menu items in Administration section. There you must create resources in app.
  #
  # config.administration_menu_items = []

  # You can exclude translation groups from weeler administration
  # By default theres already excluded [:activerecord, :attributes, :helpers, :views, :i18n, :weeler]
  #
  # config.excluded_i18n_groups += ["number", "date", "scopes", "named_routes", "named_routes_path", "path_names", "errors", "routes"]

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
weeler-1.0.4 lib/generators/weeler/templates/initializers/weeler.rb
weeler-1.0.3 lib/generators/weeler/templates/initializers/weeler.rb
weeler-1.0.2 lib/generators/weeler/templates/initializers/weeler.rb
weeler-1.0.1 lib/generators/weeler/templates/initializers/weeler.rb
weeler-1.0.0 lib/generators/weeler/templates/initializers/weeler.rb