diff options
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index b83b5b1c9b0..d1425cd0e88 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -39,8 +39,8 @@ = render 'shared/outdated_browser' -if @project && !@project.empty_repo? && @ref :javascript - var findFileURL = '#{namespace_project_find_file_path(@project.namespace, @project, @ref)}'; + var findFileURL = "#{namespace_project_find_file_path(@project.namespace, @project, @ref)}"; -elsif @project && !@project.empty_repo? :javascript - var findFileURL = '#{namespace_project_find_file_path(@project.namespace, @project, @project.repository.root_ref)}';
\ No newline at end of file + var findFileURL = "#{namespace_project_find_file_path(@project.namespace, @project, @project.repository.root_ref)}";
\ No newline at end of file |