Merge pull request #648 from rkusa/badge-branch-fix

fix badge branch selection
This commit is contained in:
Brad Rydzewski 2014-10-29 08:54:32 -07:00
commit 81dce49b3d

View file

@ -33,7 +33,7 @@ func GetBadge(c web.C, w http.ResponseWriter, r *http.Request) {
host = c.URLParams["host"]
owner = c.URLParams["owner"]
name = c.URLParams["name"]
branch = c.URLParams["branch"]
branch = r.FormValue("branch")
)
// an SVG response is always served, even when error, so