Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Returning resource vs. redirecting #2011

Closed
anathematic opened this Issue · 1 comment

2 participants

@anathematic

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)

To:
respond_with resource

But I'm hoping for a neater fix.

Cheers!

@josevalim
Owner

Please use the mailing list for questions.

@josevalim josevalim closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.