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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-16 01:42:03 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-16 01:42:03 +0300
commit11591573e117b0b8f3fcd6f86c526e2df20a0dbf (patch)
tree0269b2ca2959a3983e70d91655189d29d13709ec /app/helpers/tree_helper.rb
parentdbd54fad513f65befd364a25047a64f168ec8e0e (diff)
parent6c65b91d8c754c61fe8e50966283af5f78c1c9f0 (diff)
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