Skip to content

Commit 1d1e518

Browse files
committed
Correctly pass max_renderers config to setup
1 parent 8c0e0b4 commit 1d1e518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react/rails/railtie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class Railtie < ::Rails::Railtie
7474
do_setup = lambda do
7575
cfg = app.config.react
7676
React::Renderer.setup!( cfg.react_js, cfg.components_js,
77-
{:size => cfg.size, :timeout => cfg.timeout})
77+
{:size => cfg.max_renderers, :timeout => cfg.timeout})
7878
end
7979

8080
do_setup.call

0 commit comments

Comments
 (0)