Hans Lemuet edited this page Apr 30, 2018 · 1 revision

Cookbook

How to render a component from a controller action? (not in a view)

def show
  render html: helpers.component("button")
end
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.