Prior to this commit, we determined the 404 status based on the final scoped query of the articles. That scoped query would limit to a timeframe. However, what we want is to not render a 404 status if we have an "established" tag. An established tag means that we have at least one published article (regardless of when we published). Fixes forem/forem#16932 |
||
|---|---|---|
| .. | ||
| articles_search_controller.rb | ||
| feeds_controller.rb | ||
| pinned_articles_controller.rb | ||
| tagged_articles_controller.rb | ||