Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2017-07-29 02:34:34 +0300
committerJacob Schatz <jschatz1@gmail.com>2017-07-29 02:34:34 +0300
commit9e806fd43744505b3d801952eedbb278b1a5e9a8 (patch)
treed659026f04c803704299d32c09654942f512fb2e /app/helpers
parent0c560cbbf5c29b015e9ecc9d0b2f08402e3db485 (diff)
parenta536a9ed44b166f2a9fffe722fd680283bb06116 (diff)
Merge branch 'ide' of gitlab.com:gitlab-org/gitlab-ce into ide
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/tree_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb
index bc2b3c97fe7..63ddf0cc8cb 100644
--- a/app/helpers/tree_helper.rb
+++ b/app/helpers/tree_helper.rb
@@ -14,7 +14,7 @@ module TreeHelper
def repo_url(project)
if controller_name == 'projects'
- readme_path(project)
+ readme_path(project) || project_tree_path(project, project.default_branch)
else
request.original_url
end