Skip to content

Commit

Permalink
Include measure mode in calltree file name
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Nov 30, 2008
1 parent e1bcf5b commit 7c6a9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action_profiler.rb
Expand Up @@ -23,7 +23,7 @@ def action_profiler(&block)

response.headers['Content-Length'] = response.body.size
response.headers['Content-Type'] = 'application/octet-stream'
response.headers['Content-Disposition'] = %(attachment; filename="#{File.basename(request.path)}.tree")
response.headers['Content-Disposition'] = %(attachment; filename="#{File.basename(request.path)}.#{mode}.tree")
end
else
yield
Expand Down

0 comments on commit 7c6a9c6

Please sign in to comment.