5 lines
300 B
JavaScript
5 lines
300 B
JavaScript
// By default, this pack is loaded for server-side rendering.
|
|
// It must expose react_ujs as `ReactRailsUJS` and prepare a require context.
|
|
var componentRequireContext = require.context("components", true);
|
|
var ReactRailsUJS = require("react_ujs");
|
|
ReactRailsUJS.useContext(componentRequireContext);
|