diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-09-23 22:44:14 +0300 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-09-23 22:48:02 +0300 |
commit | be42c05054bda2417fdd26e86e0f4c80c9d0ccb6 (patch) | |
tree | 50c21744e03193fa6ee2458d3904b127ac4317ef /app/controllers/profiles/gpg_keys_controller.rb | |
parent | 4c8d2232ca3e4b97a313e9ac4d96dee2b3de9e84 (diff) |
Enable more frozen string in app/controllers/
Enables frozen string for the following:
* app/controllers/dashboard/**/*.rb
* app/controllers/explore/**/*.rb
* app/controllers/google_api/**/*.rb
* app/controllers/groups/**/*.rb
* app/controllers/import/**/*.rb
* app/controllers/instance_statistics/**/*.rb
* app/controllers/ldap/**/*.rb
* app/controllers/oauth/**/*.rb
* app/controllers/profiles/**/*.rb
Partially addresses #47424.
Diffstat (limited to 'app/controllers/profiles/gpg_keys_controller.rb')
-rw-r--r-- | app/controllers/profiles/gpg_keys_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/profiles/gpg_keys_controller.rb b/app/controllers/profiles/gpg_keys_controller.rb index c32507756e8..8c34a66c374 100644 --- a/app/controllers/profiles/gpg_keys_controller.rb +++ b/app/controllers/profiles/gpg_keys_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class Profiles::GpgKeysController < Profiles::ApplicationController before_action :set_gpg_key, only: [:destroy, :revoke] |