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:
authorCiro Santilli <ciro.santilli@gmail.com>2014-10-01 00:28:05 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-12-28 00:38:25 +0300
commit6c65b91d8c754c61fe8e50966283af5f78c1c9f0 (patch)
tree7d583ec0ea88f75e96748fa25d741b4b4c39c4d2 /app/helpers/tree_helper.rb
parentc8bb171664de94778d4e6eba7773596b265f9efb (diff)
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