]> cat aescling's git repositories - mastodon.git/commit
Replace OEmbed and initial state Rabl templates with serializers (#4110)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 8 Jul 2017 12:51:05 +0000 (14:51 +0200)
committerGitHub <noreply@github.com>
Sat, 8 Jul 2017 12:51:05 +0000 (14:51 +0200)
commit864e3f8d9ca652e10a28bddbb0d0df629d2849d4
tree3fb2f9c97fca49cc467622ab532252f8044146f6
parent102466ac5842b20f32a9c5e2fa3f35414c34574b
Replace OEmbed and initial state Rabl templates with serializers (#4110)

* Replace OEmbed Rabl template with serializer

* Replace initial state rabl with serializer
app/controllers/api/oembed_controller.rb
app/controllers/home_controller.rb
app/presenters/initial_state_presenter.rb [new file with mode: 0644]
app/serializers/initial_state_serializer.rb [new file with mode: 0644]
app/serializers/oembed_serializer.rb [new file with mode: 0644]
app/views/api/oembed/show.json.rabl [deleted file]
app/views/home/index.html.haml
app/views/home/initial_state.json.rabl [deleted file]
spec/controllers/home_controller_spec.rb