aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-01-26 21:05:50 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-26 21:05:50 +0100
commit6404feee500dc5a2268da1e41af08a5ff847338a (patch)
tree0d1cc50909192b51ba3f56ace8a4b1be5865464c /activesupport
parentdc57d545bb3e8ff4123892e5e311e658ab506252 (diff)
downloadrails-6404feee500dc5a2268da1e41af08a5ff847338a.tar.gz
rails-6404feee500dc5a2268da1e41af08a5ff847338a.tar.bz2
rails-6404feee500dc5a2268da1e41af08a5ff847338a.zip
AC railtie should configure helpers path.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/railtie.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/railtie.rb b/activesupport/lib/active_support/railtie.rb
index a80fa77e1e..c8d8b85000 100644
--- a/activesupport/lib/active_support/railtie.rb
+++ b/activesupport/lib/active_support/railtie.rb
@@ -7,13 +7,13 @@ module ActiveSupport
# Loads support for "whiny nil" (noisy warnings when methods are invoked
# on +nil+ values) if Configuration#whiny_nils is true.
- initializer :initialize_whiny_nils do |app|
+ initializer "active_support.initialize_whiny_nils" do |app|
require 'active_support/whiny_nil' if app.config.whiny_nils
end
# Sets the default value for Time.zone
# If assigned value cannot be matched to a TimeZone, an exception will be raised.
- initializer :initialize_time_zone do |app|
+ initializer "active_support.initialize_time_zone" do |app|
require 'active_support/core_ext/time/zones'
zone_default = Time.__send__(:get_zone, app.config.time_zone)
@@ -36,7 +36,7 @@ module I18n
config.i18n.engines_load_path = []
config.i18n.load_path = []
- initializer :initialize_i18n do
+ initializer "i18n.initialize" do
require 'active_support/i18n'
ActionDispatch::Callbacks.to_prepare do