Closed MarkOates closed 4 years ago
Right now, any and all articles that exist in the database are subject to being displayed once the view and controller are created.
Add a published status. This will allow authors to create "pending" articles, or allow admins to easily disable articles from public view.
published
Article
This is actually part 4 of https://github.com/allegroplanet/allegro-planet/issues/63
Problem
Right now, any and all articles that exist in the database are subject to being displayed once the view and controller are created.
Solution
Add a
published
status. This will allow authors to create "pending" articles, or allow admins to easily disable articles from public view.published
scope on theArticle
model. This will more easily allow the filtering ofpublished
articles for views and other lists.This is actually part 4 of https://github.com/allegroplanet/allegro-planet/issues/63