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