Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: relevance/tarantula
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: sumbach/tarantula
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 11, 2009

  1. Copy the full SHA
    fc29767 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/relevance/tarantula/rails_integration_proxy.rb
2 changes: 1 addition & 1 deletion lib/relevance/tarantula/rails_integration_proxy.rb
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ def patch_response(url, response)
if response.code == '404'
if File.exist?(static_content_path(url))
case ext = File.extension(url)
when /html|te?xt|css|js|jpe?g|gif|psd|png|eps|pdf/
when /html|te?xt|css|js|jpe?g|gif|psd|png|eps|pdf|ico/
response.body = static_content_file(url)
response.headers["type"] = "text/#{ext}" # readable as response.content_type
response.meta.attr_accessor :code