Sha256: c4956e59abfaefafa1e2aac98b66d5a21a6306c849e25cfdacbc1569a51fcd9a

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

# controllers/home_controller.rb
class HomeController < ApplicationController
  def show
    render_component  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

2 entries across 2 versions & 1 rubygems

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