summaryrefslogtreecommitdiff
path: root/lib/extracts_path.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-10-14 18:21:27 +0300
committerValery Sizov <vsv2711@gmail.com>2015-10-14 18:21:27 +0300
commit6c1faf4b33a4e601eea13899ba5763da72f5505a (patch)
tree8a307e8d0d775fd72ae9a048b172a701408faa7d /lib/extracts_path.rb
parent3b93d37e78b42584dae23c81cc86bf15ddee2df0 (diff)
parent8346dde0520ed625446ecc5d5a35b53e0b60dbb0 (diff)
downloadgitlab-ce-6c1faf4b33a4e601eea13899ba5763da72f5505a.tar.gz
Merge remote-tracking branch 'origin/inified_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