Ver código fonte

Updated Cert URL and added to Reserved words

Yoginth 7 anos atrás
pai
commit
70ab323be5
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      cmd/web.go
  2. 1 1
      models/user.go

+ 1 - 1
cmd/web.go

@@ -309,7 +309,7 @@ func runWeb(c *cli.Context) error {
 	// ***** END: Pages *****
 
 	// ***** START: Misc *****
-	m.Get("/interns/certificate/:username", ignSignIn, user.InternCertificate)
+	m.Get("/certificate/:username", ignSignIn, user.InternCertificate)
 	// ***** END: Misc *****
 
 	// ***** START: Embed *****

Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
models/user.go