diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-09-25 20:45:43 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-09-25 22:43:49 -0700 |
commit | 12ee2753c1e27c0c9480a8e79db2463ba51ba3ec (patch) | |
tree | a53ca8e4a114799b314a6216193ad654144728e7 /app/controllers/projects/settings | |
parent | 912d068dc6411af03af85cabb6bcaacbe64b5e80 (diff) | |
download | gitlab-ce-12ee2753c1e27c0c9480a8e79db2463ba51ba3ec.tar.gz |
Enable even more frozen string in app/controllers
Enables frozen string for some vestigial files as
well as the following:
* app/controllers/projects/**/*.rb
* app/controllers/sherlock/**/*.rb
* app/controllers/snippets/**/*.rb
* app/controllers/users/**/*.rb
Partially addresses #47424.
Diffstat (limited to 'app/controllers/projects/settings')
3 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/projects/settings/ci_cd_controller.rb b/app/controllers/projects/settings/ci_cd_controller.rb index 322ec096ffb..a2d1b7866c2 100644 --- a/app/controllers/projects/settings/ci_cd_controller.rb +++ b/app/controllers/projects/settings/ci_cd_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Projects module Settings class CiCdController < Projects::ApplicationController diff --git a/app/controllers/projects/settings/integrations_controller.rb b/app/controllers/projects/settings/integrations_controller.rb index d9fecfecc40..388fcb32c35 100644 --- a/app/controllers/projects/settings/integrations_controller.rb +++ b/app/controllers/projects/settings/integrations_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Projects module Settings class IntegrationsController < Projects::ApplicationController diff --git a/app/controllers/projects/settings/repository_controller.rb b/app/controllers/projects/settings/repository_controller.rb index 0d43cdbe417..6d83d24cdb8 100644 --- a/app/controllers/projects/settings/repository_controller.rb +++ b/app/controllers/projects/settings/repository_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Projects module Settings class RepositoryController < Projects::ApplicationController |