summaryrefslogtreecommitdiff
path: root/app/helpers/tree_helper.rb
diff options
context:
space:
mode:
authorSteven Burgart <skburgart@gmail.com>2015-01-18 10:29:37 -0500
committerSteven Burgart <skburgart@gmail.com>2015-01-18 10:29:37 -0500
commit5c801602189bdf179432e9ef5885f6c6fef438f2 (patch)
tree39e96188549956bc7a32ccfd9285b1dc9f3fa772 /app/helpers/tree_helper.rb
parent7d5d5e53b11db478946e6c477a9a59b0be9b6d5b (diff)
downloadgitlab-ce-5c801602189bdf179432e9ef5885f6c6fef438f2.tar.gz
Fix various typos
signe-in -> signed-in go_to_gihub_for_permissions -> go_to_github_for_permissions descendand -> descendant behavour -> behaviour recepient_email -> recipient_email generate_fingerpint -> generate_fingerprint dependes -> depends Cant't -> Can't wisit -> visit notifcation -> notification sufficent_scope -> sufficient_scope? levet -> level
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 d316213b1fd..b614fb67acb 100644
--- a/app/helpers/tree_helper.rb
+++ b/app/helpers/tree_helper.rb
@@ -113,7 +113,7 @@ module TreeHelper
tree_join(@ref, file)
end
- # returns the relative path of the first subdir that doesn't have only one directory descendand
+ # returns the relative path of the first subdir that doesn't have only one directory descendant
def flatten_tree(tree)
subtree = Gitlab::Git::Tree.where(@repository, @commit.id, tree.path)
if subtree.count == 1 && subtree.first.dir?