summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-13 15:30:58 +0100
committerPhil Hughes <me@iamphill.com>2017-07-13 15:30:58 +0100
commit6bbdce640cc6880a4d3f0c31034e6789b89638d9 (patch)
tree219f7091efd0cbb154f79375afb3016f6ccbb81b
parente578530fa13269526f4243d9109a8fe948a99ae2 (diff)
downloadgitlab-ce-find-file-no-longer-inline.tar.gz
-rw-r--r--app/views/layouts/header/_new.html.haml5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/views/layouts/header/_new.html.haml b/app/views/layouts/header/_new.html.haml
index 5bc15d68631..4697d91724b 100644
--- a/app/views/layouts/header/_new.html.haml
+++ b/app/views/layouts/header/_new.html.haml
@@ -84,8 +84,3 @@
= icon('times', class: 'js-navbar-toggle-left', style: 'display: none;')
= render 'shared/outdated_browser'
-
-- if @project && !@project.empty_repo?
- - if ref = @ref || @project.repository.root_ref
- :javascript
- var findFileURL = "#{project_find_file_path(@project, ref)}";