Sha256: 5a94b6a7d4e51f3043db810e5d765b72af1ad411e8b64c6b30f6204dbd175da3
Contents?: true
Size: 304 Bytes
Versions: 9
Compression:
Stored size: 304 Bytes
Contents
require "html_page/capture" module EmberRailsHelper def render_ember_app(name, &block) EmberCli[name].build markup_capturer = HtmlPage::Capture.new(self, &block) head, body = markup_capturer.capture render html: EmberCli[name].index_html(head: head, body: body).html_safe end end
Version data entries
9 entries across 9 versions & 1 rubygems