Browse Source

Allow /:username for profile

Fixes #276
pull/295/head
Chance Zibolski 11 years ago
parent
commit
3e9696d2f1
  1. 1
      cmd/web.go

1
cmd/web.go

@ -151,6 +151,7 @@ func runWeb(*cli.Context) {
}, reqSignIn)
m.Get("/user/:username", ignSignIn, user.Profile)
m.Get("/:username", ignSignIn, user.Profile)
m.Group("/repo", func(r martini.Router) {
r.Get("/create", repo.Create)

Loading…
Cancel
Save