chinwagsocial/app/views/home/index.html.haml

7 lines
264 B
Text

- content_for :header_tags do
:javascript
window.INITIAL_STATE = #{json_escape(render(file: 'home/initial_state', formats: :json))}
= javascript_include_tag 'application'
= react_component 'Mastodon', default_props, class: 'app-holder', prerender: false