Skip to content
Browse files

Don't merge just directly add to the action to the :partial key

  • Loading branch information...
1 parent b1ffd65 commit 555b7cd04a268073d69478eee6e90ac4c749c38c @spastorino spastorino committed Nov 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/abstract_controller/rendering.rb
View
2 actionpack/lib/abstract_controller/rendering.rb
@@ -144,7 +144,7 @@ def _normalize_args(action=nil, options={})
key = action.include?(?/) ? :file : :action
options[key] = action
else
- options.merge!(:partial => action)
+ options[:partial] = action
end
options

0 comments on commit 555b7cd

Please sign in to comment.
Something went wrong with that request. Please try again.