Guest User

Untitled

a guest
Jul 21st, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. require File.dirname(__FILE__) + '/../../lib/locomotive.rb'
  2.  
  3. Locomotive.configure do |config|
  4. # if not defined, locomotive will use example.com as main domain name. Remove prefix www from your domain name.
  5. # Ex:
  6. # config.default_domain = Rails.env.production? ? 'mydomain.com' : 'example.com'
  7. #
  8. # If you use locomotive for a single site in Heroku, use "heroku.com" as default domain name.
  9. # Your heroku app name (<app_name>.heroku.name) will be used as the sub domain name in Locomotive
  10. # during the installation wizzard.
  11. # Ex:
  12. # config.default_domain = Rails.env.production? ? 'heroku.com' : 'example.com'
  13. config.default_domain = 'example.com'
  14.  
  15. # configure how many items we display in sub menu in the "Contents" section.
  16. config.lastest_items_nb = 5
  17.  
  18. # tell if logs are enabled. Useful for debug purpose.
  19. config.enable_logs = true
  20.  
  21. # tell if the application is hosted on Heroku.
  22. # Locomotive uses heroku api to add / remove domains.
  23. # there are 2 ways of passing heroku credentials to Locomotive
  24. # - from ENV variables: HEROKU_LOGIN & HEROKU_PASSWORD
  25. # - from this file
  26. #
  27. # Notes:
  28. # - IMPORTANT: behaviours related to this option will only be applied in production
  29. # - credentials coming from this file take precedence over ENV variables
  30. #
  31. # Ex:
  32. # Attempted a heroku install, which sorta works but has some asset problems. --Kien
  33. config.heroku = false
  34.  
  35. # Locomotive uses the DelayedJob gem for the theme import module.
  36. # In case you want to deploy to Heroku, you will have to pay for an extra dyno.
  37. # If you do not mind about importing theme without DelayedJob, disable it.
  38. config.delayed_job = false
  39.  
  40. # default locale (for now, only en and fr are supported)
  41. config.default_locale = :en
  42.  
  43. # Configure the e-mail address which will be shown in the DeviseMailer, NotificationMailer, ...etc
  44. config.mailer_sender = 'support@example.com'
  45. end
Add Comment
Please, Sign In to add comment