GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
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
This feature was implemented at 0bda6f1, documented by 1e26bda and removed at 0809c67.
But the description is still here: https://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/routing/redirection.rb#L75-79
I suggest to reimplement it (it's simple only 3 lines of code in this PR) or remove it from the documentation.
@joshk, @tenderlove what do yout think about it?
@avakhov Failed test rails/actionpack/test/dispatch/routing_test.rb:2500
Return routing redirect :path interpolation
@jeremyf Thanks for the issue. I rebased this several times without test executions. But it likes that changes in routing that was recently broke this PR. Moreover this defect was fixed by @pixeltrix 3 days ago independently. 75df4c1