• Alessio Caiazza's avatar
    Move ci_environments_status to a model · 4a9efc60
    Alessio Caiazza authored
    GET :namespace/merge_requests/:id/ci_environments_status complexity
    already reached a limit for a direct serialization from an hash
    computed at within the controller function.
    
    Here we introduce a virtual model EnvironmentStatus and its serializer.
    4a9efc60
merge_requests_controller.rb 9.01 KB