diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-07-28 19:34:34 -0400 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-07-28 19:34:34 -0400 |
commit | 9e806fd43744505b3d801952eedbb278b1a5e9a8 (patch) | |
tree | d659026f04c803704299d32c09654942f512fb2e /app/helpers | |
parent | 0c560cbbf5c29b015e9ecc9d0b2f08402e3db485 (diff) | |
parent | a536a9ed44b166f2a9fffe722fd680283bb06116 (diff) | |
download | gitlab-ce-9e806fd43744505b3d801952eedbb278b1a5e9a8.tar.gz |
Merge branch 'ide' of gitlab.com:gitlab-org/gitlab-ce into ide
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/tree_helper.rb | 2 |
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 |