Skip to content

Commit 6326065

Browse files
committed
Document component_render_options as internal API
1 parent d30ed47 commit 6326065

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/react/rails/railtie.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def self.append_react_build_to_assets_version!(assets, react_build)
121121
versioned_assets.version = [versioned_assets.version, "react-#{react_build}"].compact.join("-")
122122
end
123123

124+
# :nodoc:
124125
def self.component_render_options(options, html)
125126
render_options = options.merge(inline: html)
126127
return render_options if render_options.key?(:layout)

0 commit comments

Comments
 (0)