Commit 48186b46 authored by zauberstuhl's avatar zauberstuhl

Revel renamed RenderJson to RenderJSON

parent 13aaae9f
......@@ -46,7 +46,7 @@ func (a ApiAspect) ShowPerson() revel.Result {
return a.RenderError(err)
}
return a.RenderJson(aspects)
return a.RenderJSON(aspects)
}
func (a ApiAspect) CreatePerson() revel.Result {
......@@ -66,7 +66,7 @@ func (a ApiAspect) CreatePerson() revel.Result {
return a.RenderError(err)
}
return a.RenderJson(membership)
return a.RenderJSON(membership)
}
func (a ApiAspect) DeletePerson() revel.Result {
......@@ -86,7 +86,7 @@ func (a ApiAspect) DeletePerson() revel.Result {
return a.RenderError(err)
}
return a.RenderJson(membership)
return a.RenderJSON(membership)
}
func (a ApiAspect) Index() revel.Result {
......@@ -96,7 +96,7 @@ func (a ApiAspect) Index() revel.Result {
return a.RenderError(err)
}
return a.RenderJson(user.Aspects)
return a.RenderJSON(user.Aspects)
}
func (a ApiAspect) Create() revel.Result {
......@@ -141,7 +141,7 @@ func (a ApiAspect) Create() revel.Result {
return a.RenderError(err)
}
return a.RenderJson(aspect)
return a.RenderJSON(aspect)
}
func (a ApiAspect) Show() revel.Result {
......
......@@ -40,7 +40,7 @@ func (c ApiComment) Index() revel.Result {
revel.ERROR.Println(err)
return c.NotFound("Post not found")
}
return c.RenderJson(comments)
return c.RenderJSON(comments)
}
func (c ApiComment) Create() revel.Result {
......
......@@ -42,7 +42,7 @@ func (l ApiLike) Index() revel.Result {
return l.NotFound("Post not found")
}
return l.RenderJson(likes)
return l.RenderJSON(likes)
}
func (l ApiLike) Create() revel.Result {
......@@ -107,7 +107,7 @@ func (l ApiLike) Create() revel.Result {
}
go dispatcher.Run()
return l.RenderJson(like)
return l.RenderJSON(like)
}
func (l ApiLike) Show() revel.Result {
......
......@@ -47,7 +47,7 @@ func (p ApiPeople) Show() revel.Result {
return p.NotFound("Person not found")
}
return p.RenderJson(person)
return p.RenderJSON(person)
}
func (p ApiPeople) Delete() revel.Result {
......
......@@ -50,7 +50,7 @@ func (p ApiPost) Index() revel.Result {
return p.RenderError(err)
}
return p.RenderJson(posts)
return p.RenderJSON(posts)
}
func (p ApiPost) Create() revel.Result {
......@@ -142,7 +142,7 @@ func (p ApiPost) Show() revel.Result {
return p.NotFound("Post not found")
}
return p.RenderJson(post)
return p.RenderJSON(post)
}
func (p ApiPost) Delete() revel.Result {
......
......@@ -43,7 +43,7 @@ func (p ApiProfile) Show() revel.Result {
return p.NotFound("Profile not found")
}
return p.RenderJson(profile)
return p.RenderJSON(profile)
}
func (p ApiProfile) Delete() revel.Result {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment