Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-02-15 23:52:39 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-02-15 23:52:39 +0300
commit012c75d1b0a24aff3c31ca5b5d475e06d5f77428 (patch)
tree00de4e9809d611180beb307b245926f8f58e0428
parentc29517aaf420b0d83f21d468b371260f4887cf00 (diff)
Properly render the `errors/git_not_found` page
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 48b1f95acb9..7afe3c0c471 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -164,7 +164,7 @@ class ApplicationController < ActionController::Base
end
def git_not_found!
- render html: "errors/git_not_found", layout: "errors", status: 404
+ render "errors/git_not_found", layout: "errors", status: 404
end
def method_missing(method_sym, *arguments, &block)