diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-03-20 04:33:13 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-03-20 04:33:13 +0000 |
commit | a4f1262ac5e55b3b373b5519f252aa8462d576fd (patch) | |
tree | 3e0add2a8ccdebf83bb66d58c8e81c8a390107a2 /actionpack | |
parent | d19e8f412f3cbd32842f94cba11e5c1148dfd558 (diff) | |
download | rails-a4f1262ac5e55b3b373b5519f252aa8462d576fd.tar.gz rails-a4f1262ac5e55b3b373b5519f252aa8462d576fd.tar.bz2 rails-a4f1262ac5e55b3b373b5519f252aa8462d576fd.zip |
fix usage of #returning in ActionController::Base
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 52bddac092..ab73e0ee86 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -861,7 +861,7 @@ module ActionController #:nodoc: def self.view_class @view_class ||= # create a new class based on the default template class and include helper methods - returning Class.new(ActionView::Base) do |view_class| + returning view_class = Class.new(ActionView::Base) do view_class.send(:include, master_helper_module) end end |