Browse Source

auth fix

for-closed-social
Unknown 10 years ago
parent
commit
3cc860a46f
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      routers/repo/issue.go

+ 0
- 5
routers/repo/issue.go View File

@ -55,11 +55,6 @@ func Issues(ctx *middleware.Context, params martini.Params) {
}
func CreateIssue(ctx *middleware.Context, params martini.Params, form auth.CreateIssueForm) {
if !ctx.Repo.IsOwner {
ctx.Handle(404, "issue.CreateIssue", nil)
return
}
ctx.Data["Title"] = "Create issue"
ctx.Data["IsRepoToolbarIssues"] = true

Loading…
Cancel
Save