summaryrefslogtreecommitdiff
path: root/app/helpers/tree_helper.rb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-30 22:28:05 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-12-27 22:38:25 +0100
commit6c65b91d8c754c61fe8e50966283af5f78c1c9f0 (patch)
tree7d583ec0ea88f75e96748fa25d741b4b4c39c4d2 /app/helpers/tree_helper.rb
parentc8bb171664de94778d4e6eba7773596b265f9efb (diff)
downloadgitlab-ce-6c65b91d8c754c61fe8e50966283af5f78c1c9f0.tar.gz
Remove or prepend _ 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 e32aeba5f8f..b86275704c9 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