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