diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-10 15:07:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-10 15:07:07 +0300 |
commit | e3624c5be1696597bc6b351f56f1a84c2b13211b (patch) | |
tree | f7478638f22c2dcc7f1d987b8c578508324e4644 /app/policies/users | |
parent | 74c7e01089dc2245462723574b102665ef3a6440 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/users')
-rw-r--r-- | app/policies/users/saved_reply_policy.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/policies/users/saved_reply_policy.rb b/app/policies/users/saved_reply_policy.rb new file mode 100644 index 00000000000..be76c526012 --- /dev/null +++ b/app/policies/users/saved_reply_policy.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module Users + class SavedReplyPolicy < BasePolicy + delegate { @subject.user } + end +end |