Skip to content
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