Sha256: ca249940d54072faaac32b40c6025c0e8d93f7744b037c19e52aed67670876cf

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

# controllers/home_controller.rb
class HomeController < ApplicationController
  def show
    render_component  "::Showz", say_hello_to: params[:say_hello_to] # by default render_component will use the controller name to find the appropriate component
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reactive-ruby-0.7.7 example/rails-tutorial/app/controllers/home_controller.rb