Skip to content

Commit

Permalink
merged 6347: fix for thin
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Kayser committed Jan 29, 2009
1 parent 89b9001 commit d4cbe51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/new_relic/version.rb
Expand Up @@ -18,6 +18,7 @@ def self.changes
is symlinked to /usr/bin. Usage: newrelic_cmd deployments --help
* Fix issue invoking api when host is not set in newrelic.yml
* Fix deployments api so it will work from a gem
* Fix thin incompatibility in developer mode
2008-12-18 version 2.8.0
* add beta of api in new_relic_api.rb
* instrumented dynamic finders in ActiveRecord
Expand Down
2 changes: 1 addition & 1 deletion ui/controllers/newrelic_controller.rb
Expand Up @@ -150,7 +150,7 @@ def forward_to_file(root_path, content_type='ignored anyway')
:last_modified => last_modified,
:type => 'text/plain'
else
response.headers['Last-Modified'] = last_modified
response.headers['Last-Modified'] = last_modified.to_formatted_s(:rfc822)
expires_in 24.hours
send_file file, :content_type => mime_type_from_extension(file), :disposition => 'inline' #, :filename => File.basename(file)
end
Expand Down

0 comments on commit d4cbe51

Please sign in to comment.