feat: Articles store integration (#5133)

This commit is contained in:
Muhsin Keloth
2022-08-02 17:14:10 +05:30
committed by GitHub
parent 82207c0d3e
commit 5735a8e377
22 changed files with 272 additions and 82 deletions

View File

@@ -5,6 +5,7 @@ json.content article.content
json.description article.description
json.status article.status
json.account_id article.account_id
json.updated_at article.updated_at.to_i
if article.portal.present?
json.portal do

View File

@@ -4,5 +4,5 @@ end
json.meta do
json.current_page @current_page
json.articles_count @articles.size
json.articles_count @articles_count
end