diff options
author | Sean McGivern <sean@gitlab.com> | 2017-02-01 19:38:52 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-02-02 13:23:50 +0300 |
commit | f799585c41d801bc657f992adf3d4b201af927d2 (patch) | |
tree | 024671600d97ba514bd06f896b4f508f4e790ace /app/controllers/projects/snippets_controller.rb | |
parent | 659cceb0e8694b58a8b665de3f338245244ef114 (diff) |
Keep snippet visibility on error
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.
Diffstat (limited to 'app/controllers/projects/snippets_controller.rb')
0 files changed, 0 insertions, 0 deletions