example/rails-tutorial/app/controllers/home_controller.rb in reactive-ruby-0.7.7 vs example/rails-tutorial/app/controllers/home_controller.rb in reactive-ruby-0.7.8
- old
+ new
@@ -1,6 +1,6 @@
# 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
+ 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
\ No newline at end of file