Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 555b7cd04a268073d69478eee6e90ac4c749c38c 1 parent b1ffd65
Santiago Pastorino spastorino authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionpack/lib/abstract_controller/rendering.rb
2  actionpack/lib/abstract_controller/rendering.rb
@@ -144,7 +144,7 @@ def _normalize_args(action=nil, options={})
144 144 key = action.include?(?/) ? :file : :action
145 145 options[key] = action
146 146 else
147   - options.merge!(:partial => action)
  147 + options[:partial] = action
148 148 end
149 149
150 150 options

0 comments on commit 555b7cd

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