gitlab-org--gitlab-foss/app/views/snippets
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
..
_snippet.html.haml Update path helper references 2015-02-19 21:25:28 -07:00
_snippets.html.haml Refactor scss 2014-02-20 13:51:22 +02:00
current_user_index.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
edit.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
index.html.haml Add a page title to every page. 2015-04-30 19:12:15 +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
user_index.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00