mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 07:01:36 +01:00
92afd29650
Adding better errors for the API controllers, posting a simple status works from the frontend now
1 line
281 B
Text
1 line
281 B
Text
= react_component 'Root', { token: @token, timelines: { home: render(file: 'api/statuses/home', locals: { statuses: @home }, formats: :json), mentions: render(file: 'api/statuses/mentions', locals: { statuses: @mentions }, formats: :json) }}, class: 'app-holder', prerender: false
|