respond_with not working on specific controller #491
Closed
Labels
Comments
I have also experienced this, the README claims that respond_to is working because you are explicitly stating
|
I dont think it help a lot, but I'm suffering from the same issue. respond_with isn't using serializer at all |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have two controllers in a Rails 4.0.2 app (CapsulesController and InstancesController).
respond_with
does not use the serializer I have for Capsule, but InstancesController will use the Instance serializer I have. The controllers and serializers are here: https://gist.github.com/trobrock/a574870dff5fafbc2115I can get the serializer to kick in if I use
respond_to
in CapsulesController's index action.Any idea why this would happen?
The text was updated successfully, but these errors were encountered: