From b4827c2b5ea8441adfea3490028cad9b9446c594 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Wed, 27 Dec 2017 04:20:42 +0200 Subject: [PATCH] fix examples link in the /mvc and a controller test Former-commit-id: 1384d7297f79f47a395701433034c57ad361f5ab --- _examples/mvc/README.md | 12 ++++++------ mvc/controller_test.go | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_examples/mvc/README.md b/_examples/mvc/README.md index f63e0b9b..6f10cbff 100644 --- a/_examples/mvc/README.md +++ b/_examples/mvc/README.md @@ -135,11 +135,11 @@ If you're new to back-end web development read about the MVC architectural patte ## Examples -- [Hello world](mvc/hello-world/main.go) **UPDATED** -- [Session Controller](mvc/session-controller/main.go) **UPDATED** -- [Overview - Plus Repository and Service layers](mvc/overview) **UPDATED** -- [Login showcase - Plus Repository and Service layers](mvc/login) **UPDATED** -- [Singleton](mvc/singleton) **NEW** -- [Websocket Controller](mvc/websocket) **NEW** +- [Hello world](hello-world/main.go) **UPDATED** +- [Session Controller](session-controller/main.go) **UPDATED** +- [Overview - Plus Repository and Service layers](overview) **UPDATED** +- [Login showcase - Plus Repository and Service layers](login) **UPDATED** +- [Singleton](singleton) **NEW** +- [Websocket Controller](websocket) **NEW** Folder structure guidelines can be found at the [_examples/#structuring](https://github.com/kataras/iris/tree/master/_examples/#structuring) section. \ No newline at end of file diff --git a/mvc/controller_test.go b/mvc/controller_test.go index 4a4e1edc..475b79dc 100644 --- a/mvc/controller_test.go +++ b/mvc/controller_test.go @@ -482,7 +482,7 @@ func (c *testControllerNotCreateNewDueManuallySettingAllFields) Get() string { func TestControllerNotCreateNewDueManuallySettingAllFields(t *testing.T) { app := iris.New() - New(app).Register(&testControllerNotCreateNewDueManuallySettingAllFields{ + New(app).Handle(&testControllerNotCreateNewDueManuallySettingAllFields{ T: t, TitlePointer: &testBindType{ title: "my title",