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/templates_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/templates_controller.rb')
-rw-r--r-- | app/controllers/projects/templates_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects/templates_controller.rb b/app/controllers/projects/templates_controller.rb index 52d6fb82093..7ceea4e5b96 100644 --- a/app/controllers/projects/templates_controller.rb +++ b/app/controllers/projects/templates_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class Projects::TemplatesController < Projects::ApplicationController before_action :authenticate_user!, :get_template_class |