pull.go 419 B

1234567891011121314151617181920
  1. // Copyright 2014 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package repo
  5. import (
  6. "github.com/gogits/gogs/modules/base"
  7. "github.com/gogits/gogs/modules/middleware"
  8. )
  9. const (
  10. PULLS base.TplName = "repo/pulls"
  11. )
  12. func Pulls(ctx *middleware.Context) {
  13. ctx.Data["IsRepoToolbarPulls"] = true
  14. ctx.HTML(200, PULLS)
  15. }