• Sean McGivern's avatar
    Keep snippet visibility on error · f799585c
    Sean McGivern authored
    When a snippet is submitted, but there's an error, we didn't keep the
    visibility level. As the default is private, this means that submitting
    a public snippet that failed would then fall back to being a private
    snippet.
    f799585c
visibility_level_helper.rb 3.19 KB