Uncomment content url mappings (#523)

pull/528/head
John Niang 2020-01-31 00:35:26 +08:00 committed by GitHub
parent eb176ee8d5
commit d47f0f29e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public class ContentContentController {
this.sheetService = sheetService;
}
// @GetMapping("{prefix}")
@GetMapping("{prefix}")
public String content(@PathVariable("prefix") String prefix,
Model model) {
String archivesPrefix = optionService.getByPropertyOrDefault(PermalinkProperties.ARCHIVES_PREFIX, String.class, PermalinkProperties.ARCHIVES_PREFIX.defaultValue());
@ -89,7 +89,7 @@ public class ContentContentController {
}
}
// @GetMapping("{prefix}/{url}")
@GetMapping("{prefix}/{url}")
public String content(@PathVariable("prefix") String prefix,
@PathVariable("url") String url,
@RequestParam(value = "token", required = false) String token,