advanced-cms / advanced-reviews

This is an Open Source add-on that improves the reviewing process and lets external users to view & review content items or whole projects without the need to access the Edit Mode. Created and maintained by Bartosz Sekuła and Grzegorz Wiecheć
Apache License 2.0
17 stars 15 forks source link

Bugfix/162 site url resolver #165

Closed barteksekula closed 4 years ago

barteksekula commented 4 years ago

We don't need to find out the SiteDefinition ourselves because there's already an api endpoint for this in Core that returns a SiteDefinition instance for a given ContentReference.

The default implementation of the new ISiteUrlResolver will just find the current site's SiteUrl. But it will be possible to override that with something custom.