fix examples link in the /mvc and a controller test

Former-commit-id: 1384d7297f79f47a395701433034c57ad361f5ab
This commit is contained in:
Gerasimos (Makis) Maropoulos 2017-12-27 04:20:42 +02:00
parent b282e7c563
commit b4827c2b5e
2 changed files with 7 additions and 7 deletions

View File

@ -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.

View File

@ -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",