Commit 5c3fdfaa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed developer push to protected branch. Closes #2647

parent af7dcda1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment