diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-23 01:29:29 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-23 01:29:29 +0100 |
commit | 98240c49b05093d6d14b9384a9bd695b58eefb59 (patch) | |
tree | 8db75608481547569fe86b105d7af30017617d69 /actionpack/lib | |
parent | c8cc8a987213bf90fe6922517d52befb7c0587a8 (diff) | |
download | rails-98240c49b05093d6d14b9384a9bd695b58eefb59.tar.gz rails-98240c49b05093d6d14b9384a9bd695b58eefb59.tar.bz2 rails-98240c49b05093d6d14b9384a9bd695b58eefb59.zip |
Get rid of initializers global and create i18n railtie.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/helpers.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/helpers.rb b/actionpack/lib/action_controller/metal/helpers.rb index cdd14560e1..24f8cb8a57 100644 --- a/actionpack/lib/action_controller/metal/helpers.rb +++ b/actionpack/lib/action_controller/metal/helpers.rb @@ -51,6 +51,8 @@ module ActionController included do # Set the default directory for helpers + # TODO This should support multiple directories in order + # to work with engines extlib_inheritable_accessor(:helpers_dir) do defined?(Rails.root) ? "#{Rails.root}/app/helpers" : "app/helpers" end |