1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 04:21:57 +00:00

Nothing in codebase, just some MVC examples enhancements

Former-commit-id: 81f1121da0e7632ef3a0f7b78d6784ee1690eb7e
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-10-12 21:24:11 +03:00
parent 32d14db46d
commit 13975a5d81
16 changed files with 116 additions and 273 deletions

View File

@@ -37,7 +37,7 @@ var DefaultViewExt = ".html"
func ensureExt(s string) string {
if len(s) == 0 {
return "index.html"
return "index" + DefaultViewExt
}
if strings.IndexByte(s, dotB) < 1 {