Skip to content

Commit

Permalink
STORM-242 #41 Correct URL of admin description rebuild function.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicode committed Jul 18, 2019
1 parent 80f2aed commit 4e5db7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class AdminController {
"set or updated after importing content of that language. " +
"The descriptions of the specified language will be reindexed on all branches using the new configuration. " +
"N.B. Snowstorm must be restarted to read the new configuration.")
@RequestMapping(value = "/admin/actions/rebuild-description-index-for-language", method = RequestMethod.POST)
@RequestMapping(value = "/actions/rebuild-description-index-for-language", method = RequestMethod.POST)
public void rebuildDescriptionIndexForLanguage(@RequestParam String languageCode) throws IOException {
ControllerHelper.requiredParam(languageCode, "languageCode");
adminOperationsService.reindexDescriptionsForLanguage(languageCode);
Expand Down

0 comments on commit 4e5db7e

Please sign in to comment.