diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-26 16:39:17 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-26 16:39:17 +0000 |
commit | 9f166a864959370d3e31931519506887b902cd11 (patch) | |
tree | 62bc450c637f9c0861bfb5964ffcdaec4e4fd0b5 /.gitlab-ci.yml | |
parent | 06ab7d89f9835205ee4d2dfd64aac671a7efa891 (diff) | |
parent | 7ca017b5130705770074d455cbc827e487730bf1 (diff) | |
download | gitlab-ce-9f166a864959370d3e31931519506887b902cd11.tar.gz |
Merge branch 'rename-abilities' into 'master'
Rename abilities to correspond contoller/model action names
write_ was renamed to create_
modify_ was renamed to update_
So now in update action we have next code
```
def create
can?(current_user, :create_issue, @issue)
end
def update
can?(current_user, :update_issue, @issue)
end
```
See merge request !896
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions