diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-23 06:09:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-23 06:09:04 +0300 |
commit | 4f31109a95c149fc92ec1899fb18110160e02789 (patch) | |
tree | ea0aae5e1392159ae942e5171381b29f157ad0e2 /app/policies/timelog_policy.rb | |
parent | 5df6990daccf98d24f3ac45865d0386c3a4c3eb5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/timelog_policy.rb')
-rw-r--r-- | app/policies/timelog_policy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/timelog_policy.rb b/app/policies/timelog_policy.rb new file mode 100644 index 00000000000..0598817d4e0 --- /dev/null +++ b/app/policies/timelog_policy.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class TimelogPolicy < BasePolicy + delegate { @subject.issuable.resource_parent } +end |