(refs #34)Link conversion checks existence of accounts and issues.

This commit is contained in:
takezoe
2013-07-12 15:15:58 +09:00
parent 71a3d79c82
commit f163e348e0
15 changed files with 152 additions and 80 deletions

View File

@@ -158,7 +158,7 @@ trait IssuesControllerBase extends ControllerBase {
org.json4s.jackson.Serialization.write(
Map("title" -> x.title,
"content" -> view.Markdown.toHtml(x.content getOrElse "No description given.",
repository, false, true, true)
repository, false, true)
))
}
} else Unauthorized
@@ -175,7 +175,7 @@ trait IssuesControllerBase extends ControllerBase {
contentType = formats("json")
org.json4s.jackson.Serialization.write(
Map("content" -> view.Markdown.toHtml(x.content,
repository, false, true, true)
repository, false, true)
))
}
} else Unauthorized