gitlab-org--gitlab-foss/app/views/projects/merge_requests/show
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
..
_commits.html.haml Pass source project variable to commits list on MR page 2015-01-06 15:39:33 -08:00
_diffs.html.haml Replace bs-callout with alert 2015-03-06 18:36:22 -08:00
_how_to_merge.html.haml Bootlint: Modals no longer need a '.hide' class 2015-06-16 13:32:33 -04:00
_mr_box.html.haml Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
_mr_title.html.haml Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
_participants.html.haml Improve performance for merge_request#show page 2015-06-24 12:56:10 +02:00