summaryrefslogtreecommitdiff
path: root/app/helpers/tree_helper.rb
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-10-03 10:10:07 +0200
committerMarin Jankovski <maxlazio@gmail.com>2014-10-03 10:10:07 +0200
commitd97a9d493560a77883b2016b0949207d614cc40b (patch)
tree9133ded5b1fef760ef89ab8ea7ef72852e5943ec /app/helpers/tree_helper.rb
parenta835b0ce1771c94d50c69830da4811353be60dcb (diff)
parent9f45e22993b3904436c314065730482c800a1f67 (diff)
downloadgitlab-ce-d97a9d493560a77883b2016b0949207d614cc40b.tar.gz
Merge branch 'master' of github.com:gitlabhq/gitlabhq
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 d815257a4e3..ed3c401d873 100644
--- a/app/helpers/tree_helper.rb
+++ b/app/helpers/tree_helper.rb
@@ -80,7 +80,7 @@ module TreeHelper
end
end
- def up_dir_path tree
+ def up_dir_path(tree)
file = File.join(@path, "..")
tree_join(@ref, file)
end