Permalink
Browse files

Fix ruby syntax error

  • Loading branch information...
1 parent 4407117 commit b3cd632a798daa0641a2e164b0597b6e20aa1166 @jnavila jnavila committed Nov 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 acl/update
View
4 acl/update
@@ -49,8 +49,8 @@ def check_directory_perms
next if path.size == 0
has_file_access = false
access[$user].each do |access_path|
- if !access_path # user has access to everything
- || (path.index(access_path) == 0) # access to this path
+ if !access_path || # user has access to everything
+ (path.index(access_path) == 0) # access to this path
has_file_access = true
end
end

0 comments on commit b3cd632

Please sign in to comment.