Sha256: 0f4680cf6177598f176e0dc78fc36ab7986d88bd3c23ed705643fe24020037fa
Contents?: true
Size: 466 Bytes
Versions: 8
Compression:
Stored size: 466 Bytes
Contents
require 'inertia_rails/renderer' require 'inertia_rails/engine' require 'patches/debug_exceptions' require 'patches/better_errors' require 'patches/request' ActionController::Renderers.add :inertia do |component, options| InertiaRails::Renderer.new( component, self, request, response, method(:render), props: options[:props], view_data: options[:view_data], ).render end module InertiaRails class Error < StandardError; end end
Version data entries
8 entries across 8 versions & 1 rubygems