Browse Source

Merge pull request #797 from Mikayex/dev

Fix #795
for-closed-social
无闻 10 years ago
parent
commit
52cc58fd9d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      routers/repo/setting.go

+ 2
- 1
routers/repo/setting.go View File

@ -10,6 +10,7 @@ import (
"fmt"
"strings"
"time"
"path"
"github.com/Unknwon/com"
@ -169,7 +170,7 @@ func SettingsCollaboration(ctx *middleware.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings")
ctx.Data["PageIsSettingsCollaboration"] = true
repoLink := strings.TrimPrefix(ctx.Repo.RepoLink, "/")
repoLink := path.Join(ctx.Repo.Owner.LowerName, ctx.Repo.Repository.LowerName)
if ctx.Req.Method == "POST" {
name := strings.ToLower(ctx.Query("collaborator"))

Loading…
Cancel
Save