Skip to content

Commit

Permalink
Fix hash spaces and use 1.9 style hash [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosantoniodasilva committed Mar 7, 2013
1 parent a049631 commit 087ce9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
compile!(view)
view.send(method_name, locals, buffer, &block)
end
Expand Down

0 comments on commit 087ce9d

Please sign in to comment.