• Oswaldo Ferreira's avatar
    Remove unused data from discussions endpoint · 26b94bcc
    Oswaldo Ferreira authored
    We don't need a series of attributes to render diff files on
    discussions.json request. Therefore this MR removes lots of unnecessary
    attributes from the request, mainly the highlighted diff lines, which
    are pretty expensive.
    26b94bcc
discussion_entity.rb 2.07 KB