RegistrationsController#edit renders a view without respect to the Accept type. Unless I'm missing something, it should be:
def edit
respond_with resource
end
With this change, it will serve JSON when requested, which is useful in the case of using Devise in an API, for example.
If correct, I'm happy to make a PR.
RegistrationsController#edit renders a view without respect to the Accept type. Unless I'm missing something, it should be:
With this change, it will serve JSON when requested, which is useful in the case of using Devise in an API, for example.
If correct, I'm happy to make a PR.