Commit 18d19eb
Fix: Update RSC config references in server_rendering_js_code.rb
Critical bugfix discovered during code review:
- Lines 67-68 were still calling ReactOnRails.configuration instead of ReactOnRailsPro.configuration
- Updated to use ReactOnRailsPro.configuration.react_client_manifest_file
- Updated to use ReactOnRailsPro.configuration.react_server_client_manifest_file
- Extracted config to local variable to fix RuboCop line length violation
This ensures RSC manifest file configurations are read from the correct Pro configuration
after they were moved from open-source to Pro gem in Phase 2.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent bc8716d commit 18d19eb
File tree
1 file changed
+3
-2
lines changed- react_on_rails_pro/lib/react_on_rails_pro
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments