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

8 lines
251 B
Text
Raw Normal View History

- content_for :header_tags do
2017-01-09 11:37:15 +00:00
:javascript
window.INITIAL_STATE = #{render(file: 'home/initial_state', formats: :json)}
2017-01-09 11:37:15 +00:00
= javascript_include_tag 'application'
= react_component 'Mastodon', default_props, class: 'app-holder', prerender: false