Commit ae13389b authored by Robert Speicher's avatar Robert Speicher
Browse files

Provide explicit html format when rendering git_not_found page

Prior, if the request format was, for example, .zip, we'd get an
`ActionView::MissingTemplate` error.
parent 012c75d1
......@@ -164,7 +164,7 @@ def access_denied!
def git_not_found!
render "errors/git_not_found", layout: "errors", status: 404
render "errors/git_not_found.html", layout: "errors", status: 404
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