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