summaryrefslogtreecommitdiff
path: root/app/helpers/tree_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-15 14:42:03 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-15 14:42:03 -0800
commit11591573e117b0b8f3fcd6f86c526e2df20a0dbf (patch)
tree0269b2ca2959a3983e70d91655189d29d13709ec /app/helpers/tree_helper.rb
parentdbd54fad513f65befd364a25047a64f168ec8e0e (diff)
parent6c65b91d8c754c61fe8e50966283af5f78c1c9f0 (diff)
downloadgitlab-ce-11591573e117b0b8f3fcd6f86c526e2df20a0dbf.tar.gz
Merge pull request #7925 from cirosantilli/unused-arguments
Remove or prepend underscore _ to unused method arguments
Diffstat (limited to 'app/helpers/tree_helper.rb')
-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 5a96a208e93..d316213b1fd 100644
--- a/app/helpers/tree_helper.rb
+++ b/app/helpers/tree_helper.rb
@@ -108,7 +108,7 @@ module TreeHelper
end
end
- def up_dir_path(tree)
+ def up_dir_path
file = File.join(@path, "..")
tree_join(@ref, file)
end