Browse files

Fix hash spaces and use 1.9 style hash [ci skip]

  • Loading branch information...
1 parent a049631 commit 087ce9d52dba2c8465ffa3db31399a5305057803 @carlosantoniodasilva carlosantoniodasilva committed Mar 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/template.rb
@@ -138,7 +138,7 @@ def supports_streaming?
# we use a bang in this instrumentation because you don't want to
# consume this in production. This is only slow if it's being listened to.
def render(view, locals, buffer=nil, &block)
- ActiveSupport::Notifications.instrument("!render_template.action_view", :virtual_path => @virtual_path, :identifier=>@identifier) do
+ ActiveSupport::Notifications.instrument("!render_template.action_view", virtual_path: @virtual_path, identifier: @identifier) do
view.send(method_name, locals, buffer, &block)

0 comments on commit 087ce9d

Please sign in to comment.