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/runners_controller.rb | |
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/runners_controller.rb')
-rw-r--r-- | app/controllers/projects/runners_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects/runners_controller.rb b/app/controllers/projects/runners_controller.rb index d118cec977c..91f40b90aa8 100644 --- a/app/controllers/projects/runners_controller.rb +++ b/app/controllers/projects/runners_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class Projects::RunnersController < Projects::ApplicationController before_action :authorize_admin_build! before_action :runner, only: [:edit, :update, :destroy, :pause, :resume, :show] |