gitlab-org--gitlab-foss/app/views/projects/issues
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
..
_discussion.html.haml Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
_form.html.haml Move issuable partials in common directory 2015-06-25 15:11:22 +02:00
_issue.html.haml Simplify set of assignee, milestone and label to admin_issue rule 2015-06-26 15:45:45 +02:00
_issues.html.haml Restlye issueable filters to be more compact 2015-02-19 15:47:10 -08:00
edit.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
index.atom.builder Fix Atom feeds. 2015-05-21 11:39:33 +02:00
index.html.haml Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
new.html.haml Capitalize "X" in "New X". 2015-04-30 21:33:02 +02:00
show.html.haml Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
update.js.haml Refactor issue and merge request sidebar 2015-06-25 16:04:50 +02:00