mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-24 00:00:02 +02:00
organisation main page ui
This commit is contained in:
parent
a0318db2f9
commit
4fcbf553aa
4 changed files with 194 additions and 1 deletions
|
@ -27,6 +27,7 @@ import (
|
|||
"github.com/gogits/gogs/routers/admin"
|
||||
"github.com/gogits/gogs/routers/api/v1"
|
||||
"github.com/gogits/gogs/routers/dev"
|
||||
"github.com/gogits/gogs/routers/org"
|
||||
"github.com/gogits/gogs/routers/repo"
|
||||
"github.com/gogits/gogs/routers/user"
|
||||
)
|
||||
|
@ -186,6 +187,10 @@ func runWeb(*cli.Context) {
|
|||
|
||||
reqOwner := middleware.RequireOwner()
|
||||
|
||||
m.Group("/o", func(r martini.Router) {
|
||||
r.Get("/:org", org.Organization)
|
||||
})
|
||||
|
||||
m.Group("/:username/:reponame", func(r martini.Router) {
|
||||
r.Get("/settings", repo.Setting)
|
||||
r.Post("/settings", bindIgnErr(auth.RepoSettingForm{}), repo.SettingPost)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue