drewroberts / blog

📝 Laravel package for my opinionated style of adding blog posts to Laravel projects
MIT License
2 stars 4 forks source link

Post Routes #67

Open drewroberts opened 3 years ago

drewroberts commented 3 years ago

If a blog Post (#5) has a NULL Series (#4), then the path for it should be:

/blog/{post:slug}

If it has a Series relationship, then it should use the current routing in Issue #50 of:

/{topic}/{series}/{post}

The /blog route will use the Page with that slug in the data migration (#66) in the controller to display content on it.