lib/gollum/frontend/app.rb in gollum-2.1.10 vs lib/gollum/frontend/app.rb in gollum-2.2.0
- old
+ new
@@ -280,15 +280,9 @@
diffs = wiki.repo.diff(@versions.first, @versions.last, @page.path)
@diff = diffs.first
mustache :compare
end
- get '/_tex.png' do
- content_type 'image/png'
- formula = Base64.decode64(params[:data])
- Gollum::Tex.render_formula(formula)
- end
-
get %r{^/(javascript|css|images)} do
halt 404
end
get %r{/(.+?)/([0-9a-f]{40})} do