• Francisco Javier López's avatar
    Fix bug committing content when snippet created · 536daf04
    Francisco Javier López authored
    When the snippet is created we commit the content
    to the recently created repository. Nevertheless,
    these actions are inside a db transaction and
    the commit action triggers a request
    handled by a different thread.
    
    This means that in the thread the snippet
    does not exists and, therefore, the operation
    fails.
    536daf04
snippets_controller.rb 4.06 KB