diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-02-15 15:52:39 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-02-15 15:52:39 -0500 |
commit | 012c75d1b0a24aff3c31ca5b5d475e06d5f77428 (patch) | |
tree | 00de4e9809d611180beb307b245926f8f58e0428 /app/controllers/application_controller.rb | |
parent | c29517aaf420b0d83f21d468b371260f4887cf00 (diff) | |
download | gitlab-ce-012c75d1b0a24aff3c31ca5b5d475e06d5f77428.tar.gz |
Properly render the `errors/git_not_found` page
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
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) |