Fixed developer push to protected branch. Closes #2647

This commit is contained in:
Dmitriy Zaporozhets
2013-01-19 11:11:25 +02:00
parent af7dcda1cb
commit 5c3fdfaacb
+1 -1
View File
@@ -81,7 +81,7 @@ module Grack
end
# Need to reset seek point
@request.body.rewind
/refs\/heads\/([\w\.-]+)/.match(input).to_a.first
/refs\/heads\/([\w\.-]+)/.match(input).to_a.last
end
def project