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/global_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/global_policy.rb')
-rw-r--r-- | app/policies/global_policy.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/global_policy.rb b/app/policies/global_policy.rb index 1cf5515d9d7..6e3827736b2 100644 --- a/app/policies/global_policy.rb +++ b/app/policies/global_policy.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class GlobalPolicy < BasePolicy desc "User is blocked" with_options scope: :user, score: 0 |