Skip to content

Commit

Permalink
* [#109] fix(module): send notFound result on dependencies.yml reques…
Browse files Browse the repository at this point in the history
…t if module doesn't exist (#110)
xael-fry authored and wsargent committed Dec 23, 2016
1 parent 83f7f5b commit 0977baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/Modules.scala
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ class Modules @Inject() (
def dependencies(name: String, version: String) = Action { implicit request =>
modulesLookup.findDependencies(name, version) match {
case Some(yml) => Ok(yml)
case None => Ok("self: play -> " + name + " " + version)
case None => PageNotFound
}
}

0 comments on commit 0977baa

Please sign in to comment.