Sha256: b8e5abeb96bbcb976a0806a66e30a190fb904812e1eade3ffc8c5e39d4af68b0
Contents?: true
Size: 435 Bytes
Versions: 58
Compression:
Stored size: 435 Bytes
Contents
module Revelry module Core class PropsTemplate < ActionView::Template def render(view, locals, buffer = nil, &block) # Invoke the execjs-rails lambda which makes the props for the server-side # render, but instead of rendering a template, just give me the props as a # json object Rails.application.config.execjs_rails.view_to_function_options.call(view, locals) end end end end
Version data entries
58 entries across 58 versions & 1 rubygems