Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -164,7 +164,7 @@ class ApplicationController < ActionController::Base
end
 
def git_not_found!
render "errors/git_not_found", layout: "errors", status: 404
render "errors/git_not_found.html", layout: "errors", status: 404
end
 
def method_missing(method_sym, *arguments, &block)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment