|
@@ -42,7 +42,6 @@ class BaseController(TGController):
|
42
|
42
|
|
43
|
43
|
def url(self, id: int=None, subpath: str='', params:dict=None, skip_id=False) -> str:
|
44
|
44
|
"""
|
45
|
|
- burl means 'base url'
|
46
|
45
|
return a standard REST URL for list or one item.
|
47
|
46
|
If your mount point is /someitems, then this will return /someitems or /someitems/4 if id not None
|
48
|
47
|
if subpath is given, then it will be added at the end, eg /someitems/subpath or /someitems/4/subpath
|