• Oswaldo Ferreira's avatar
    Persist tmp snippet uploads · 44e1915d
    Oswaldo Ferreira authored
    It persist temporary personal snippets under
    user/:id namespaces temporarily while creating
    a upload record to track it. If an user gets removed
    while it's still a tmp upload, it also gets removed.
    If the tmp upload is sent, the upload gets moved to
    personal_snippets/:id as before. The upload record
    also gets updated to the new model type as well.
    44e1915d
snippets_controller.rb 3.41 KB