Sha256: a60c7eb60b8bb1153f2f74dd6678165de9320dedd939e3ade17172afb52a450e

Contents?: true

Size: 171 Bytes

Versions: 6

Compression:

Stored size: 171 Bytes

Contents

class InertiaExampleController < ApplicationController
  def index
    render inertia: "InertiaExample", props: {
      name: params.fetch(:name, "World")
    }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inertia_rails-contrib-0.3.0 lib/generators/inertia/install/templates/controller.rb
inertia_rails-contrib-0.2.2 lib/generators/inertia/install/templates/controller.rb
inertia_rails-contrib-0.2.1 lib/generators/inertia/install/templates/controller.rb
inertia_rails-contrib-0.2.0 lib/generators/inertia/install/templates/controller.rb
inertia_rails-contrib-0.1.1 lib/generators/inertia/install/templates/controller.rb
inertia_rails-contrib-0.1.0 lib/generators/inertia/install/templates/controller.rb