app/controllers/phcpresspro/api/v1/posts_controller.rb in phcpresspro-20.0.0 vs app/controllers/phcpresspro/api/v1/posts_controller.rb in phcpresspro-21.0.0

- old
+ new

@@ -6,15 +6,15 @@ # Only Responds to API Requests respond_to :json # Article Category API def index - @article_posts = Article::Post.order('psttitle ASC') + @phcpresspro_frontend_article_index = Phcpressproindexapi.get_phcpresspro_index_api end # Article Show def show - @article_post = Article::Post.find(params[:id]) + @phcpresspro_frontend_article_show = Article::Post.find(params[:id]) end end end