Commit a74915a4 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Always return HTML in git_not_found

This allows us to give a nice 404 for e.g. archive.zip.
parent 381ca79b
......@@ -154,7 +154,7 @@ class ApplicationController < ActionController::Base
end
def git_not_found!
render "errors/git_not_found", layout: "errors", status: 404
render html: "errors/git_not_found", layout: "errors", status: 404
end
def method_missing(method_sym, *arguments, &block)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment