Skip to content

Commit 07b172d

Browse files
committed
Copied PR chrisroberts#59 from original chrisroberts/dav4rack. Fixes a typo.
1 parent 77b0ece commit 07b172d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dav4rack/controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def move(*args)
148148
unless(resource.exist?)
149149
NotFound
150150
else
151-
resource.lock_check if resource.supports_locking? && !args.include(:copy)
151+
resource.lock_check if resource.supports_locking? && !args.include?(:copy)
152152
destination = url_unescape(env['HTTP_DESTINATION'].sub(%r{https?://([^/]+)}, ''))
153153
dest_host = $1
154154
if(dest_host && dest_host.gsub(/:\d{2,5}$/, '') != request.host)

0 commit comments

Comments
 (0)