Sha256: c71a062a7b924b4b6a6cce2eb69a7df55146308f3f4731a758d2c905862b216c

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module Quilt
  class UiController < ApplicationController
    include Quilt::ReactRenderable
    layout(false)

    rescue_from(Quilt::ReactRenderable::ReactServerNoResponseError) do
      render(:react_render_error, status: :internal_server_error)
    end

    def index
      render_react
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quilt_rails-3.4.0 app/controllers/quilt/ui_controller.rb
quilt_rails-3.3.1 app/controllers/quilt/ui_controller.rb
quilt_rails-3.3.0 app/controllers/quilt/ui_controller.rb