diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 527c9da0faa50bd1863432be7b4ef35be9e7c8f0..be217e121b0d50408f90e69a946e23da05084b45 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -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)