You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
349 B
12 lines
349 B
6 years ago
|
json.array! @boards do |board|
|
||
|
json.id board.id
|
||
|
json.name board.name
|
||
|
# json.messages board.messages do |msg|
|
||
|
# json.id msg.id
|
||
|
# json.board_id msg.board_id
|
||
|
# json.replies_count msg.replies_count
|
||
|
# json.subject msg.subject
|
||
|
# json.author msg.author, :id, :full_name
|
||
|
# json.last_reply msg.last_reply
|
||
|
# end
|
||
|
end
|