File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
lib/react_on_rails/test_helper Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,14 @@ def resolve_asset_path(bundle_name)
5151 # Check if this is a Pro RSC manifest file
5252 if ReactOnRails ::Utils . react_on_rails_pro?
5353 pro_config = ReactOnRailsPro . configuration
54- return ReactOnRailsPro ::Utils . react_client_manifest_file_path if bundle_name == pro_config . react_client_manifest_file
55- return ReactOnRailsPro ::Utils . react_server_client_manifest_file_path if bundle_name == pro_config . react_server_client_manifest_file
54+ if bundle_name == pro_config . react_client_manifest_file
55+ return ReactOnRailsPro ::Utils . react_client_manifest_file_path
56+ end
57+ if bundle_name == pro_config . react_server_client_manifest_file
58+ return ReactOnRailsPro ::Utils . react_server_client_manifest_file_path
59+ end
5660 end
57-
61+
5862 ReactOnRails ::Utils . bundle_js_file_path ( bundle_name )
5963 end
6064
You can’t perform that action at this time.
0 commit comments