diff options
author | Dino Maric <dino.onex@gmail.com> | 2018-12-14 11:06:12 +0100 |
---|---|---|
committer | Dino Maric <dino.onex@gmail.com> | 2018-12-14 11:06:12 +0100 |
commit | 4412ca6dac7dce284e2010678f7f2e276d60e4d1 (patch) | |
tree | ef47c14cd5164aa74ec0ffea4a4a553dd1e32ab4 /app/controllers/rails/conductor | |
parent | af7d237002aca9667f28923f7181db7cb5e51460 (diff) | |
download | rails-4412ca6dac7dce284e2010678f7f2e276d60e4d1.tar.gz rails-4412ca6dac7dce284e2010678f7f2e276d60e4d1.tar.bz2 rails-4412ca6dac7dce284e2010678f7f2e276d60e4d1.zip |
Add frozen_string_literal: true to match Rails codebase
Diffstat (limited to 'app/controllers/rails/conductor')
3 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb b/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb index 9804f6ec5b..eb96d88691 100644 --- a/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb +++ b/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class Rails::Conductor::ActionMailbox::InboundEmailsController < Rails::Conductor::BaseController def index @inbound_emails = ActionMailbox::InboundEmail.order(created_at: :desc) diff --git a/app/controllers/rails/conductor/action_mailbox/reroutes_controller.rb b/app/controllers/rails/conductor/action_mailbox/reroutes_controller.rb index 6191bda5e5..c53203049b 100644 --- a/app/controllers/rails/conductor/action_mailbox/reroutes_controller.rb +++ b/app/controllers/rails/conductor/action_mailbox/reroutes_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Rerouting will run routing and processing on an email that has already been, or attempted to be, processed. class Rails::Conductor::ActionMailbox::ReroutesController < Rails::Conductor::BaseController def create diff --git a/app/controllers/rails/conductor/base_controller.rb b/app/controllers/rails/conductor/base_controller.rb index cfa0b84963..c95a7f3b93 100644 --- a/app/controllers/rails/conductor/base_controller.rb +++ b/app/controllers/rails/conductor/base_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # TODO: Move this to Rails::Conductor gem class Rails::Conductor::BaseController < ActionController::Base layout "rails/conductor" |