app/controllers/phcpresspro/frontend/articles_controller.rb in phcpresspro-6.6.8 vs app/controllers/phcpresspro/frontend/articles_controller.rb in phcpresspro-6.6.9

- old
+ new

@@ -6,10 +6,10 @@ # Security & Filters layout '/layouts/phcpresspro/frontend.html.erb' # Article Index def index - @articles_index = Articles::Post.all + @articles_index = Articles::Post.where(pststatus: published) end # Single Article Post def show @articles_single = Articles::Post.find(params[:id])