diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-07 10:54:33 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-07 10:54:33 +0300 |
commit | 5f6926f63249b3bcc6b94d27e038213aa55c9f06 (patch) | |
tree | a9b114ec12fd5f2861101481aea8053a81057d4f /changelogs | |
parent | 9c2f82842b9d4d985ab8fadf47bcbac22ec76bd6 (diff) | |
parent | a544e46bb083c27bfa2966ea67ddf97b5dc7cb08 (diff) |
Merge branch '31840-add-a-rubocop-that-forbids-redirect_to-inside-a-controller-destroy-action-without-an-explicit-status' into 'master'
Resolve "Add a rubocop that forbids `redirect_to` inside a controller `destroy` action without an explicit `status`"
Closes #31840
See merge request !11749
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/31840-add-a-rubocop-that-forbids-redirect_to-inside-a-controller-destroy-action-without-an-explicit-status.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/31840-add-a-rubocop-that-forbids-redirect_to-inside-a-controller-destroy-action-without-an-explicit-status.yml b/changelogs/unreleased/31840-add-a-rubocop-that-forbids-redirect_to-inside-a-controller-destroy-action-without-an-explicit-status.yml new file mode 100644 index 00000000000..52bfe771e2b --- /dev/null +++ b/changelogs/unreleased/31840-add-a-rubocop-that-forbids-redirect_to-inside-a-controller-destroy-action-without-an-explicit-status.yml @@ -0,0 +1,4 @@ +--- +title: Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers +merge_request: 11749 +author: @blackst0ne |