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