summaryrefslogtreecommitdiff
path: root/app/views/layouts/header/_new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/header/_new.html.haml')
-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)}";