mirror of
https://github.com/kataras/iris.git
synced 2025-03-13 22:36:24 +01:00
let's put the home section on the sidebar as well
parent
6aba338d0e
commit
7f414b4276
|
@ -119,7 +119,8 @@ func(validNames []string) func(string) bool {
|
|||
}
|
||||
})
|
||||
|
||||
app.Get("/static_validation/{name:string has([kataras,maropoulos])}", func(ctx iris.Context) {
|
||||
app.Get("/static_validation/{name:string has([kataras,maropoulos])}",
|
||||
func(ctx iris.Context) {
|
||||
name := ctx.Params().Get("name")
|
||||
ctx.Writef(`Hello %s | the name should be "kataras" or "maropoulos"
|
||||
otherwise this handler will not be executed`, name)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
* [[Home]]
|
||||
* [[About]]
|
||||
* [[Support]]
|
||||
* [[Installing Iris|Installation]]
|
||||
|
|
Loading…
Reference in New Issue
Block a user