Lines Matching refs:config

16     # Settings in config/environments/* take precedence over those specified here.
17 # Application configuration should go into files in config/initializers
21 config.eager_load_paths += %W(#{config.root}/lib)
25 config.sass.load_paths << Compass::Frameworks['compass'].stylesheets_directory
29 config.to_prepare { Devise::Mailer.layout "mailer" }
33 # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
36 # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
40 # config.time_zone = 'Central Time (US & Canada)'
42 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
43 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
44 # config.i18n.default_locale = :de
47 config.encoding = "utf-8"
50 config.filter_parameters += [:password]
55 config.active_record.schema_format = :sql
61 config.active_record.whitelist_attributes = true
64 config.assets.enabled = true
67 config.assets.version = '1.0'
69 config.i18n.enforce_available_locales = true
72 config.assets.precompile += %w(jstree-themes/**/*)
75 config.external_url_mapping = APP_CONFIG = YAML.load(File.read(Rails.root + "config/external_link_mapping.yml"))
77 config.before_initialize do
78 local_environment_config = config.root.join('config', 'environments',
84 Settings.add_source!(Rails.root.join('config', 'hets.yml').to_s)
88 config.action_controller.asset_host = Settings.asset_host
91 require config.root.join('config', 'initializers', 'hostname.rb')
95 Settings.action_mailer[:default_url_options][:host] ||= config.fqdn
96 Settings.action_mailer[:default_url_options][:port] ||= config.port
98 config.action_mailer.send("#{key}=", value)
102 config.after_initialize do