You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
476 B

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  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/go-martini/martini"
  7. "github.com/gogits/gogs/modules/base"
  8. "github.com/gogits/gogs/modules/middleware"
  9. )
  10. const (
  11. PULLS base.TplName = "repo/pulls"
  12. )
  13. func Pulls(ctx *middleware.Context, params martini.Params) {
  14. ctx.Data["IsRepoToolbarPulls"] = true
  15. ctx.HTML(200, PULLS)
  16. }