diff options
author | Koichi ITO <koic.ito@gmail.com> | 2017-08-12 21:32:15 +0900 |
---|---|---|
committer | Koichi ITO <koic.ito@gmail.com> | 2017-08-12 21:43:42 +0900 |
commit | d02844f2499be488d262bc274530ec44e242fd70 (patch) | |
tree | 7ff85210a7d93db94509bf12bd5e520f46c59e96 /activestorage/test/dummy/app | |
parent | 98360a96cc1e0bb6ab9eb31f421a36439e66eefc (diff) | |
download | rails-d02844f2499be488d262bc274530ec44e242fd70.tar.gz rails-d02844f2499be488d262bc274530ec44e242fd70.tar.bz2 rails-d02844f2499be488d262bc274530ec44e242fd70.zip |
Use frozen string literal in Active Storage
Diffstat (limited to 'activestorage/test/dummy/app')
4 files changed, 8 insertions, 0 deletions
diff --git a/activestorage/test/dummy/app/controllers/application_controller.rb b/activestorage/test/dummy/app/controllers/application_controller.rb index 1c07694e9d..280cc28ce2 100644 --- a/activestorage/test/dummy/app/controllers/application_controller.rb +++ b/activestorage/test/dummy/app/controllers/application_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ApplicationController < ActionController::Base protect_from_forgery with: :exception end diff --git a/activestorage/test/dummy/app/helpers/application_helper.rb b/activestorage/test/dummy/app/helpers/application_helper.rb index de6be7945c..15b06f0f67 100644 --- a/activestorage/test/dummy/app/helpers/application_helper.rb +++ b/activestorage/test/dummy/app/helpers/application_helper.rb @@ -1,2 +1,4 @@ +# frozen_string_literal: true + module ApplicationHelper end diff --git a/activestorage/test/dummy/app/jobs/application_job.rb b/activestorage/test/dummy/app/jobs/application_job.rb index a009ace51c..d92ffddcb5 100644 --- a/activestorage/test/dummy/app/jobs/application_job.rb +++ b/activestorage/test/dummy/app/jobs/application_job.rb @@ -1,2 +1,4 @@ +# frozen_string_literal: true + class ApplicationJob < ActiveJob::Base end diff --git a/activestorage/test/dummy/app/models/application_record.rb b/activestorage/test/dummy/app/models/application_record.rb index 10a4cba84d..71fbba5b32 100644 --- a/activestorage/test/dummy/app/models/application_record.rb +++ b/activestorage/test/dummy/app/models/application_record.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ApplicationRecord < ActiveRecord::Base self.abstract_class = true end |