aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorDaniel Oaks <daniel@danieloaks.net>2016-09-01 23:08:05 +1000
committer无闻 <u@gogs.io>2016-09-01 09:08:05 -0400
commitb3d9ca4ccd7c4353db0971b61bbcbffd126cb61d (patch)
tree2187f2c6631385bc0247af11e26648f5717b8acf /cmd
parent4efaf8e882dad4bffbb84104aec6df25d15b4f87 (diff)
downloadgitea-b3d9ca4ccd7c4353db0971b61bbcbffd126cb61d.tar.gz
gitea-b3d9ca4ccd7c4353db0971b61bbcbffd126cb61d.zip
Add the ability to explore organizations (#3573)
* Add ability to explore organizations * Use right icon for org explore links
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index d760decf5e..cc4eb2aa1a 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -214,6 +214,7 @@ func runWeb(ctx *cli.Context) error {
})
m.Get("/repos", routers.ExploreRepos)
m.Get("/users", routers.ExploreUsers)
+ m.Get("/organizations", routers.ExploreOrganizations)
}, ignSignIn)
m.Combo("/install", routers.InstallInit).Get(routers.Install).
Post(bindIgnErr(auth.InstallForm{}), routers.InstallPost)