diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-08-03 15:23:43 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-08-03 15:23:43 +0200 |
commit | ef6ce7a9ec465687df47beab86ac3cb06f6f3898 (patch) | |
tree | 4e95ccf02c4cb78c27410fcfd694d03e9048dbc7 /app/helpers | |
parent | f711b2df8bf02ed10716cdd6292002132413e3d8 (diff) | |
download | gitlab-ce-ef6ce7a9ec465687df47beab86ac3cb06f6f3898.tar.gz |
More backend cleanup
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/tree_helper.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb index 63ddf0cc8cb..e0d3e9b88f3 100644 --- a/app/helpers/tree_helper.rb +++ b/app/helpers/tree_helper.rb @@ -12,14 +12,6 @@ module TreeHelper tree.html_safe end - def repo_url(project) - if controller_name == 'projects' - readme_path(project) || project_tree_path(project, project.default_branch) - else - request.original_url - end - end - # Return an image icon depending on the file type and mode # # type - String type of the tree item; either 'folder' or 'file' |