Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make blog post titles unique #1062
I'm trying to fix #1045.
We should make the
This PR was merged into the master branch. Discussion ---------- Make blog post titles unique I'm trying to fix #1045. We should make the `slug` unique because it's what we use to look for blog posts in the database. However, I can't make this work. If I define `UniqueEntity` on `title`, it works ... but if I define it on `slug`, it doesn't work (I can create any number of posts with the same slug). Anybody sees the error? Thanks! Commits ------- 178e2b1 Added a functional test 7486dc8 Added a form event to set the slug a4a316a Make blog post titles unique