app/controllers/quilt/ui_controller.rb in quilt_rails-3.2.1 vs app/controllers/quilt/ui_controller.rb in quilt_rails-3.3.0

- old
+ new

@@ -1,9 +1,14 @@ # 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