Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-02-01 19:38:52 +0300
committerSean McGivern <sean@gitlab.com>2017-02-02 13:23:50 +0300
commitf799585c41d801bc657f992adf3d4b201af927d2 (patch)
tree024671600d97ba514bd06f896b4f508f4e790ace /app/controllers/projects/snippets_controller.rb
parent659cceb0e8694b58a8b665de3f338245244ef114 (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