Merge branch 'v15/dev' into contrib
This commit is contained in:
@@ -100,6 +100,7 @@ public class UmbracoRouteValueTransformer : DynamicRouteValueTransformer
|
||||
}
|
||||
|
||||
// Check if there is no existing content and return the no content controller
|
||||
// FIXME: This should be changed to route cache, so instead, if there are any routes, we know there is content.
|
||||
if (!umbracoContext.Content?.HasContent() ?? false)
|
||||
{
|
||||
return new RouteValueDictionary
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
and remove these overrides -->
|
||||
<WarningsNotAsErrors>ASP0019,CS0618,SA1401,SA1649,IDE0270,IDE1006</WarningsNotAsErrors>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<!-- TODO: Fix all warnings and remove this override -->
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Umbraco.Web.Common\Umbraco.Web.Common.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user