Skip to content

Commit

Permalink
AddressRestController: change "attribute" to "field"
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed May 25, 2017
1 parent 4803f52 commit 5daa431
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public List<JSONDocument> processChanges(
});
}

@RequestMapping(value = "/{docId}/attribute/{attributeName}/typeahead", method = RequestMethod.GET)
@RequestMapping(value = "/{docId}/field/{attributeName}/typeahead", method = RequestMethod.GET)
public JSONLookupValuesList getAttributeTypeahead(
@PathVariable("docId") final int docId //
, @PathVariable("attributeName") final String attributeName //
Expand All @@ -127,7 +127,7 @@ public JSONLookupValuesList getAttributeTypeahead(
.transform(JSONLookupValuesList::ofLookupValuesList);
}

@RequestMapping(value = "/{docId}/attribute/{attributeName}/dropdown", method = RequestMethod.GET)
@RequestMapping(value = "/{docId}/field/{attributeName}/dropdown", method = RequestMethod.GET)
public JSONLookupValuesList getAttributeDropdown(
@PathVariable("docId") final int docId //
, @PathVariable("attributeName") final String attributeName //
Expand Down

0 comments on commit 5daa431

Please sign in to comment.