This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/views/home/index.html.haml

8 lines
251 B
Plaintext

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