Open ComLock opened 5 years ago
Why are we still concatenaning urls from baseuri etc? Admin should as far as possible work similar to sites and apps...
Need to align this with regular url() functions. Does there have to be a difference? If so, what methods do we actually need?
libAdmin.getBaseUri() currently only returns 'admin'.
In order to not break api type: relative should be default.
When type: absolute it should return the first vhost mapping for admin?
So perhaps we need another parameter to pick which vhost mapping or return an array with all of them?
http://repo.enonic.com/public/com/enonic/xp/docs/6.15.4/docs-6.15.4-libdoc.zip!/module-admin.html#.getBaseUri