@@ -4,7 +4,7 api.array :news, api_meta(:total_count => @news_count, :offset => @offset, :limi | |||||
4 | api.id news.id |
|
4 | api.id news.id | |
5 | api.project(:id => news.project_id, :name => news.project.name) unless news.project.nil? |
|
5 | api.project(:id => news.project_id, :name => news.project.name) unless news.project.nil? | |
6 | api.author(:id => news.author_id, :name => news.author.name) unless news.author.nil? |
|
6 | api.author(:id => news.author_id, :name => news.author.name) unless news.author.nil? | |
7 |
|
7 | |||
8 | api.title news.title |
|
8 | api.title news.title | |
9 | api.summary news.summary |
|
9 | api.summary news.summary | |
10 | api.description news.description |
|
10 | api.description news.description |
General Comments 0
You need to be logged in to leave comments.
Login now