application.rb 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. require File.expand_path('../boot', __FILE__)
  2. # Pick the frameworks you want:
  3. # require "active_record/railtie"
  4. require "action_controller/railtie"
  5. # require "action_mailer/railtie"
  6. require "sprockets/railtie"
  7. # require "rails/test_unit/railtie"
  8. Bundler.require(*Rails.groups)
  9. require "china_city"
  10. module Dummy
  11. class Application < Rails::Application
  12. # Settings in config/environments/* take precedence over those specified here.
  13. # Application configuration should go into files in config/initializers
  14. # -- all .rb files in that directory are automatically loaded.
  15. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
  16. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
  17. # config.time_zone = 'Central Time (US & Canada)'
  18. # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
  19. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
  20. # config.i18n.default_locale = :de
  21. # Rails 3 config
  22. # Enable the asset pipeline
  23. config.assets.enabled = true
  24. # Version of your assets, change this if you want to expire all your assets
  25. config.assets.version = '1.0'
  26. end
  27. end