Top-level slug validation

Posted by Denny at 20:02 on Tue, 22 Oct 2019

Today's main achievement was adding a validator to prevent top level page/section slugs colliding with controllers; it would be kind of embarassing to absent-mindedly create a top-level page called 'users' and accidentally take our your admin login features, or similar shenanigans. The more features get built, the more likely this is to happen (particularly if you're using metacontent about the CMS itself as your demo content, oops).

Tags: slugs validators pages sections top-level pages top-level sections

« Code of Conduct "But wait, there's more" »

Comments

No comments found