Files
gitlabhq/lib/gitlab
Dmitriy Zaporozhets 342d553709 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

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26 15:55:56 +02:00
..
2014-09-29 12:05:17 +03:00
2014-10-06 00:14:46 +02:00
2015-02-24 15:07:24 +01:00
2015-05-13 09:46:22 +02:00
2014-10-06 00:14:46 +02:00
2014-11-06 13:07:42 +02:00
2015-02-24 15:07:24 +01:00
2014-10-31 17:22:16 -07:00
2015-04-14 15:58:28 +02:00
2014-10-06 00:14:46 +02:00
2015-03-24 18:35:57 -07:00
2014-10-06 00:14:46 +02:00
2014-10-06 00:14:46 +02:00
2015-05-23 13:11:23 +03:00
2013-06-06 10:10:51 +09:00