Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Returning resource vs. redirecting #2011

anathematic opened this Issue Aug 7, 2012 · 1 comment


None yet
2 participants

Hi guys,
This could be a responders related question but here goes:

For resources like Devise::PasswordsController#update - is there a built in way to return the source rather than redirecting?
For a quick fix I forked and changed:
respond_with resource, :location => after_sign_in_path_for(resource)

respond_with resource

But I'm hoping for a neater fix.



josevalim commented Aug 7, 2012

Please use the mailing list for questions.

@josevalim josevalim closed this Aug 7, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment