diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-06 09:06:39 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-06 09:06:39 +0000 |
commit | cd15d0e6c32da7f69689c7cff2e90aeda33b8318 (patch) | |
tree | 8343899f0873ab05f3eadca72c5f6e0a653a12ac /app/policies | |
parent | dd6afb4b4785ed1889defc6d7bb8ef114dd4eb50 (diff) | |
download | gitlab-ce-cd15d0e6c32da7f69689c7cff2e90aeda33b8318.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/error_tracking/detailed_error_policy.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/policies/error_tracking/detailed_error_policy.rb b/app/policies/error_tracking/detailed_error_policy.rb new file mode 100644 index 00000000000..cb74242d46a --- /dev/null +++ b/app/policies/error_tracking/detailed_error_policy.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module ErrorTracking + class DetailedErrorPolicy < BasePolicy + delegate { @subject.gitlab_project } + end +end |