gitlab-org--gitlab-foss/lib
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
..
api Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
assets
backup Merge branch 'restore_uploads_fix' into 'master' 2015-06-22 09:52:42 +00:00
gitlab Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
omni_auth Add reset_session for the :reset_session strategy. 2015-04-24 20:10:32 +02:00
redcarpet/render Fix typo. 2015-06-02 13:21:34 +02:00
support Merge branch 'nginx_defaulthost_documentation' into 'master' 2015-06-22 13:22:58 +00:00
tasks Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
disable_email_interceptor.rb Add email interceptor to prevent mail sending if email sending is disabled. 2014-10-27 13:05:50 +01:00
email_validator.rb More rubocop rules enable 2015-02-02 21:31:03 -08:00
event_filter.rb
extracts_path.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
file_size_validator.rb Support configurable attachment size via Application Settings 2015-04-02 00:04:08 -07:00
gitlab.rb Add lib/gitlab.rb to autoload non-conventional paths 2015-04-09 14:19:25 -04:00
gt_one_coercion.rb
repository_cache.rb Fix RepositoryCache backend attr_reader 2015-01-30 10:17:55 -05:00
static_model.rb
unfold_form.rb
version_check.rb Replace host with real one 2015-05-11 18:21:45 +03:00