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