You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: application_controller.rb
    path of file: ./repos/shopify-hotwire-sample/app/controllers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class ApplicationController < ActionController::Base
  before_action :set_host

  def turbo_redirect_to(options = {}, response_options = {})
 
    
  def turbo_redirect_to(options = {}, response_options = {})
    if Rails.configuration.force_iframe
      redirect_to options, response_options.merge(status: 200)
    else
      respond_to do |format|
        format.html { redirect_to options, response_options }
        format.turbo_stream { redirect_to options, response_options.merge(status: 200) }
      end
    end