summaryrefslogtreecommitdiff
path: root/lib/extracts_path.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-10-09 20:07:29 +0300
committerValery Sizov <vsv2711@gmail.com>2015-10-13 20:12:34 +0300
commit8346dde0520ed625446ecc5d5a35b53e0b60dbb0 (patch)
treef2faa89dc934967921ddea7794a319333ea77c97 /lib/extracts_path.rb
parentfb8f604f1cdc2e114e3ebb55827353d07dd7778a (diff)
downloadgitlab-ce-8346dde0520ed625446ecc5d5a35b53e0b60dbb0.tar.gz
Only render 404 page from /publicinified_404_error
Diffstat (limited to 'lib/extracts_path.rb')
-rw-r--r--lib/extracts_path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extracts_path.rb b/lib/extracts_path.rb
index 322aed5e27c..51e46da82cc 100644
--- a/lib/extracts_path.rb
+++ b/lib/extracts_path.rb
@@ -110,7 +110,7 @@ module ExtractsPath
@project, @ref, @path)
rescue RuntimeError, NoMethodError, InvalidPathError
- not_found!
+ render_404
end
def tree