Sha256: f7b51fd41a73ad2cac741782d40759fb000d9e1b2896dc70c5021d9989d58c02
Contents?: true
Size: 203 Bytes
Versions: 1
Compression:
Stored size: 203 Bytes
Contents
# frozen_string_literal: true class InertiaExampleController < ApplicationController def index render inertia: 'InertiaExample', props: { name: params.fetch(:name, 'World'), } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
inertia_rails-3.5.0 | lib/generators/inertia/install/templates/controller.rb |