summaryrefslogtreecommitdiff
path: root/app/helpers/tree_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-09-27 09:56:02 +0300
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-09-27 09:56:02 +0300
commit19c58becc00982b718f0e11b74129ef2ccce2454 (patch)
treeee7eb18b8e59074bc56ea06fd30ae241beed4a2f /app/helpers/tree_helper.rb
parent0439387be00bfb862b4454000f805f11fb8cc389 (diff)
parent2c8d3c33ff64ac6af5daf125a2f9ef917e55bcfc (diff)
downloadgitlab-ce-19c58becc00982b718f0e11b74129ef2ccce2454.tar.gz
Merge branch 'tsigo-routing_overhaul'
Diffstat (limited to 'app/helpers/tree_helper.rb')
-rw-r--r--app/helpers/tree_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb
index 2b7265ca19e..81a16989405 100644
--- a/app/helpers/tree_helper.rb
+++ b/app/helpers/tree_helper.rb
@@ -39,4 +39,9 @@ module TreeHelper
def gitlab_markdown?(filename)
filename.end_with?(*%w(.mdown .md .markdown))
end
+
+ # Simple shortcut to File.join
+ def tree_join(*args)
+ File.join(*args)
+ end
end