• Justin Ho's avatar
    Move backend logic from model to a serializer · 1106bdff
    Justin Ho authored
    As suggested in maintainer review of a previous MR, the logic to
    display a JSON format used by the frontend should not be put in the
    model. Instead, using a serializer is better separation of concerns.
    1106bdff
service_field_serializer.rb 109 Bytes