Skip to content

Commit

Permalink
* [playframework#109] fix(module): send notFound result on dependenci…
Browse files Browse the repository at this point in the history
…es.yml request if module doesn't exist
  • Loading branch information
xael-fry committed Dec 21, 2016
1 parent 83f7f5b commit 22c406d
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
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 22c406d

Please sign in to comment.