diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-03-14 21:46:44 +0100 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-03-19 21:24:05 +0100 |
commit | 7342a4566cc2eef0e434f3aea0eac48674baaaf1 (patch) | |
tree | 2c01812a3736544d759dd4cdd59cd0a6ae1bb408 /app/models/ability.rb | |
parent | 67043ec53b4c35d5a9862fe78bd3f47e412919cd (diff) | |
download | gitlab-ce-7342a4566cc2eef0e434f3aea0eac48674baaaf1.tar.gz |
Dry destroy action on issuables
Diffstat (limited to 'app/models/ability.rb')
-rw-r--r-- | app/models/ability.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb index e22da4806e6..8b3d4d4bd29 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -235,7 +235,9 @@ class Ability :rename_project, :remove_project, :archive_project, - :remove_fork_project + :remove_fork_project, + :remove_merge_request, + :remove_issue ] end |