Sha256: cb21997fd66d27047633e201e1f2d11679d5a06e59cd55d1c347133a345e2a5f

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

require 'rails-reverse-proxy';

module Quilt
  module ReactRenderable
    include ReverseProxy::Controller

    def render_react
      host = "#{Quilt.configuration.react_server_protocol}://#{Quilt.configuration.react_server_host}"
      reverse_proxy(host)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quilt_rails-1.0.0 lib/quilt_rails/react_renderable.rb