Sha256: 098c3f7786a6408d657986defc552469839ae92eb61138d49361ae8e5fb84e3d

Contents?: true

Size: 400 Bytes

Versions: 40

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

module Satis
  class DialogsController < ::ApplicationController
    layout false
    before_action :ensure_turbo_frame_response, only: [:show]

    def show
      render params[:id]
    end

    private

    def ensure_turbo_frame_response
      return unless Rails.env.development?

      # redirect_to main_app.root_path unless turbo_frame_request?
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
satis-2.1.47 app/controllers/satis/dialogs_controller.rb
satis-2.1.46 app/controllers/satis/dialogs_controller.rb
satis-2.1.45 app/controllers/satis/dialogs_controller.rb
satis-2.1.44 app/controllers/satis/dialogs_controller.rb
satis-2.1.43 app/controllers/satis/dialogs_controller.rb
satis-2.1.42 app/controllers/satis/dialogs_controller.rb
satis-2.1.41 app/controllers/satis/dialogs_controller.rb
satis-2.1.40 app/controllers/satis/dialogs_controller.rb
satis-2.1.39 app/controllers/satis/dialogs_controller.rb
satis-2.1.38 app/controllers/satis/dialogs_controller.rb
satis-2.1.37 app/controllers/satis/dialogs_controller.rb
satis-2.1.36 app/controllers/satis/dialogs_controller.rb
satis-2.1.35 app/controllers/satis/dialogs_controller.rb
satis-2.1.33 app/controllers/satis/dialogs_controller.rb
satis-2.1.31 app/controllers/satis/dialogs_controller.rb
satis-2.1.30 app/controllers/satis/dialogs_controller.rb
satis-2.1.29 app/controllers/satis/dialogs_controller.rb
satis-2.1.28 app/controllers/satis/dialogs_controller.rb
satis-2.1.27 app/controllers/satis/dialogs_controller.rb
satis-2.1.26 app/controllers/satis/dialogs_controller.rb