summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-10-19 08:58:06 +0100
committerPhil Hughes <me@iamphill.com>2017-10-23 10:45:44 +0100
commit389c852d1210f07d34f2235423235a8ac1cff27b (patch)
treed047054b25831706c56c6411871707dbe4af352f /app/views
parentfd67a20e2c83257e555a382ae775a2a65b2efadc (diff)
downloadgitlab-ce-389c852d1210f07d34f2235423235a8ac1cff27b.tar.gz
correctly creates file in currently viewed directory
specs
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/repo/_repo.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/shared/repo/_repo.html.haml b/app/views/shared/repo/_repo.html.haml
index 7185f5bcc5b..7861f92b33f 100644
--- a/app/views/shared/repo/_repo.html.haml
+++ b/app/views/shared/repo/_repo.html.haml
@@ -7,4 +7,5 @@
blob_url: namespace_project_blob_path(project.namespace, project, '{{branch}}'),
new_mr_template_url: namespace_project_new_merge_request_path(project.namespace, project, merge_request: { source_branch: '{{source_branch}}' }),
can_commit: (!!can_push_branch?(project, @ref)).to_s,
- on_top_of_branch: (!!on_top_of_branch?(project, @ref)).to_s } }
+ on_top_of_branch: (!!on_top_of_branch?(project, @ref)).to_s,
+ current_path: @path } }