diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-11 09:14:22 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-11 09:14:22 +0000 |
commit | 2fc5cf78be465dbfb23e44eac3e26a3f62a9c2d9 (patch) | |
tree | 0340f13a212163f2e9f537f4eb851397f964d284 /actionpack/lib | |
parent | b5629c31bebcb9d304cf01e8a7905aa7c54e11fb (diff) | |
download | rails-2fc5cf78be465dbfb23e44eac3e26a3f62a9c2d9.tar.gz rails-2fc5cf78be465dbfb23e44eac3e26a3f62a9c2d9.tar.bz2 rails-2fc5cf78be465dbfb23e44eac3e26a3f62a9c2d9.zip |
Use send instead of module_eval #1873 [shugo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/helpers.rb b/actionpack/lib/action_controller/helpers.rb index df381079eb..422e075a8e 100644 --- a/actionpack/lib/action_controller/helpers.rb +++ b/actionpack/lib/action_controller/helpers.rb @@ -45,7 +45,7 @@ module ActionController #:nodoc: # See ActionView::Helpers (link:classes/ActionView/Helpers.html) for more about making your own helper modules # available to the templates. def add_template_helper(helper_module) #:nodoc: - master_helper_module.module_eval "include #{helper_module}" + master_helper_module.send(:include, helper_module) end # Declare a helper: |