From e09f7cd49c81968eeb6d3ca9af15c3cc8fb32796 Mon Sep 17 00:00:00 2001 From: Shane Brinkman-Davis Date: Sun, 18 Nov 2012 09:53:27 -0800 Subject: [PATCH] Proposed fix for https://github.com/github/gollum/issues/96 (statically hosted content in the images/ folder returns 404s) (the problem was all content in javascript, css, and images folders was hard-coded to return 404s) --- lib/gollum/frontend/app.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/gollum/frontend/app.rb b/lib/gollum/frontend/app.rb index 7a9d2a91..2d3bd14d 100644 --- a/lib/gollum/frontend/app.rb +++ b/lib/gollum/frontend/app.rb @@ -282,10 +282,6 @@ module Precious mustache :compare end - get %r{^/(javascript|css|images)} do - halt 404 - end - get %r{/(.+?)/([0-9a-f]{40})} do file_path = params[:captures][0] version = params[:captures][1]