Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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)
  • Loading branch information...
commit e09f7cd49c81968eeb6d3ca9af15c3cc8fb32796 1 parent 4dab03b
@shanebdavis shanebdavis authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/gollum/frontend/app.rb
View
4 lib/gollum/frontend/app.rb
@@ -282,10 +282,6 @@ def wiki_new
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]
Please sign in to comment.
Something went wrong with that request. Please try again.