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.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/header/_new.html.haml b/app/views/layouts/header/_new.html.haml
index 5859f689dd1..bee7291da45 100644
--- a/app/views/layouts/header/_new.html.haml
+++ b/app/views/layouts/header/_new.html.haml
@@ -88,4 +88,4 @@
- if @project && !@project.empty_repo?
- if ref = @ref || @project.repository.root_ref
:javascript
- var findFileURL = "#{namespace_project_find_file_path(@project.namespace, @project, ref)}";
+ var findFileURL = "#{project_find_file_path(@project, ref)}";