Sha256: ea8a2b218aa5b86488f9dc808b287f7abcf4c814a3108c9cec907c89ab324a8e
Contents?: true
Size: 422 Bytes
Versions: 23
Compression:
Stored size: 422 Bytes
Contents
require_relative "middleware" require_relative "controller" module InertiaRails class Engine < ::Rails::Engine initializer "inertia_rails.configure_rails_initialization" do |app| app.middleware.use ::InertiaRails::Middleware end initializer "inertia_rails.action_controller" do ActiveSupport.on_load(:action_controller) do include ::InertiaRails::Controller end end end end
Version data entries
23 entries across 23 versions & 1 rubygems