app/controllers/phcpresspro/frontend/articles_controller.rb in phcpresspro-12.0.2 vs app/controllers/phcpresspro/frontend/articles_controller.rb in phcpresspro-12.1.0

- old
+ new

@@ -11,10 +11,10 @@ @articles_index = Articles::Post.where(pststatus: "published") end # Single Article Post def show - @articles_single = Articles::Post.where(pststatus: "published").find(params[:id]) + @articles_single = Articles::Post.where(pststatus: "published").friendly.find(params[:id]) end end end