Merge pull request #20277 from poojadshende/poojadshende_Doc_For_getfromdirectory_20186
Updated the documentation example for Directives.getFromDirectory and…
This commit is contained in:
commit
8ef1a71bb4
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ class FileAndResourceDirectivesExamplesSpec extends RoutingSpec {
|
|||
}
|
||||
"getFromDirectory-examples" in compileOnlySpec {
|
||||
val route =
|
||||
path("tmp") {
|
||||
pathPrefix("tmp") {
|
||||
getFromDirectory("/tmp")
|
||||
}
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ class FileAndResourceDirectivesExamplesSpec extends RoutingSpec {
|
|||
}
|
||||
"getFromResourceDirectory-examples" in compileOnlySpec {
|
||||
val route =
|
||||
path("examples") {
|
||||
pathPrefix("examples") {
|
||||
getFromResourceDirectory("/examples")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue