Sha256: 098c3f7786a6408d657986defc552469839ae92eb61138d49361ae8e5fb84e3d

Contents?: true

Size: 400 Bytes

Versions: 41

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

41 entries across 41 versions & 1 rubygems

Version Path
satis-2.1.26 app/controllers/satis/dialogs_controller.rb
satis-2.1.24 app/controllers/satis/dialogs_controller.rb
satis-2.1.23 app/controllers/satis/dialogs_controller.rb
satis-2.1.22 app/controllers/satis/dialogs_controller.rb
satis-2.1.21 app/controllers/satis/dialogs_controller.rb
satis-2.1.20 app/controllers/satis/dialogs_controller.rb
satis-2.1.19 app/controllers/satis/dialogs_controller.rb
satis-2.1.18 app/controllers/satis/dialogs_controller.rb
satis-2.1.11 app/controllers/satis/dialogs_controller.rb
satis-2.1.10 app/controllers/satis/dialogs_controller.rb
satis-2.1.9 app/controllers/satis/dialogs_controller.rb
satis-2.1.8 app/controllers/satis/dialogs_controller.rb
satis-2.1.6 app/controllers/satis/dialogs_controller.rb
satis-2.1.5 app/controllers/satis/dialogs_controller.rb
satis-2.1.4 app/controllers/satis/dialogs_controller.rb
satis-2.1.3 app/controllers/satis/dialogs_controller.rb
satis-2.1.1 app/controllers/satis/dialogs_controller.rb
satis-2.1.0 app/controllers/satis/dialogs_controller.rb
satis-2.0.9 app/controllers/satis/dialogs_controller.rb
satis-2.0.8 app/controllers/satis/dialogs_controller.rb