diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-07-24 13:00:56 +0300 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-07-24 23:18:25 +0300 |
commit | d5bf57a6afe1ed9ba419a34b352020a44960b48d (patch) | |
tree | b2b77911cf0e18f4cb1b3c1cfac38c7000f69eb0 /app/policies/issue_policy.rb | |
parent | f5b45519dba89296cbd6f350f5c29b655d5aef8d (diff) |
Enable frozen string in presenters and policies
Enable frozen string in:
* app/presenters
* app/policies
Partially addresses #47424.
Diffstat (limited to 'app/policies/issue_policy.rb')
-rw-r--r-- | app/policies/issue_policy.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/issue_policy.rb b/app/policies/issue_policy.rb index 263c6e3039c..94b5f37c682 100644 --- a/app/policies/issue_policy.rb +++ b/app/policies/issue_policy.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class IssuePolicy < IssuablePolicy # This class duplicates the same check of Issue#readable_by? for performance reasons # Make sure to sync this class checks with issue.rb to avoid security problems. |