mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 02:24:18 +00:00
Quick fix of getLink()
This commit is contained in:
@@ -73,7 +73,7 @@ public class DSpaceObject {
|
||||
|
||||
public String getLink() {
|
||||
//TODO, get actual contextPath of /rest/
|
||||
return "/RESTapi/" + English.plural(getType()) + "/" + getId();
|
||||
return "/rest/" + English.plural(getType()) + "/" + getId();
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
|
Reference in New Issue
Block a user