diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-05 00:55:17 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-05 00:55:17 -0400 |
commit | a641854cad6dddda551a2995c765e970f7cea8ba (patch) | |
tree | 9ed5c0e085ed7f31461f82a224856dc86a14a77b /cmd/web.go | |
parent | bb0bc0a240acf745001c1cb3f0f64c8fb8ab696b (diff) | |
download | gitea-a641854cad6dddda551a2995c765e970f7cea8ba.tar.gz gitea-a641854cad6dddda551a2995c765e970f7cea8ba.zip |
command dump
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/web.go b/cmd/web.go index 1e60501834..87ad908aa8 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -30,8 +30,7 @@ import ( var CmdWeb = cli.Command{ Name: "web", Usage: "Start Gogs web server", - Description: ` -Gogs web server is the only thing you need to run, + Description: `Gogs web server is the only thing you need to run, and it takes care of all the other things for you`, Action: runWeb, Flags: []cli.Flag{}, @@ -153,7 +152,7 @@ func runWeb(*cli.Context) { r.Get("/settings/collaboration", repo.Collaboration) r.Post("/settings/collaboration", repo.CollaborationPost) r.Get("/settings/hooks", repo.WebHooks) - r.Get("/settings/hooks/add",repo.WebHooksAdd) + r.Get("/settings/hooks/add", repo.WebHooksAdd) r.Get("/action/:action", repo.Action) r.Get("/issues/new", repo.CreateIssue) r.Post("/issues/new", bindIgnErr(auth.CreateIssueForm{}), repo.CreateIssuePost) |