{"action":"created","issue":{"url":"https://api.github.com/repos/plataformatec/devise/issues/3722","labels_url":"https://api.github.com/repos/plataformatec/devise/issues/3722/labels{/name}","comments_url":"https://api.github.com/repos/plataformatec/devise/issues/3722/comments","events_url":"https://api.github.com/repos/plataformatec/devise/issues/3722/events","html_url":"https://github.com/plataformatec/devise/issues/3722","id":102661816,"number":3722,"title":"Create/Update Fail Redirect Location Should be Overridable","user":{"login":"thenadz","id":1374212,"avatar_url":"https://avatars.githubusercontent.com/u/1374212?v=3","gravatar_id":"","url":"https://api.github.com/users/thenadz","html_url":"https://github.com/thenadz","followers_url":"https://api.github.com/users/thenadz/followers","following_url":"https://api.github.com/users/thenadz/following{/other_user}","gists_url":"https://api.github.com/users/thenadz/gists{/gist_id}","starred_url":"https://api.github.com/users/thenadz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thenadz/subscriptions","organizations_url":"https://api.github.com/users/thenadz/orgs","repos_url":"https://api.github.com/users/thenadz/repos","events_url":"https://api.github.com/users/thenadz/events{/privacy}","received_events_url":"https://api.github.com/users/thenadz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-23T21:13:35Z","updated_at":"2015-10-11T04:54:33Z","closed_at":null,"body":"All of the other redirect paths in these methods allow overriding the location (eg: after_inactive_sign_up_path_for or after_update_path_for), but the failure paths for both do not allow this. This seems to arbitrarily not match functionality in other areas of the code and seems to be a trivial enhancement -- am I missing the reason why this is not supported?\r\n\r\nI'm happy to develop the pull request if there is not a reason for the functionality not to exist."},"comment":{"url":"https://api.github.com/repos/plataformatec/devise/issues/comments/147156052","html_url":"https://github.com/plataformatec/devise/issues/3722#issuecomment-147156052","issue_url":"https://api.github.com/repos/plataformatec/devise/issues/3722","id":147156052,"user":{"login":"brxue","id":1690204,"avatar_url":"https://avatars.githubusercontent.com/u/1690204?v=3","gravatar_id":"","url":"https://api.github.com/users/brxue","html_url":"https://github.com/brxue","followers_url":"https://api.github.com/users/brxue/followers","following_url":"https://api.github.com/users/brxue/following{/other_user}","gists_url":"https://api.github.com/users/brxue/gists{/gist_id}","starred_url":"https://api.github.com/users/brxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brxue/subscriptions","organizations_url":"https://api.github.com/users/brxue/orgs","repos_url":"https://api.github.com/users/brxue/repos","events_url":"https://api.github.com/users/brxue/events{/privacy}","received_events_url":"https://api.github.com/users/brxue/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T04:54:33Z","updated_at":"2015-10-11T04:54:33Z","body":"Hi @carlosantoniodasilva , how about the case when posting a user update form from a different controller other than RegistrationController? In this case, we may need to redirect to the link where the form is shown.\r\n\r\nFor example, we may have a user settings page, which include user profile form, account updating form and etc."}}