We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have this configuration on mi config.ru file
require 'rack/rewrite' use Rack::Rewrite do r302 %r{/marketing/([^\?])(?.)*}, '/$1' end
I want make rails write log before redirect.
Example: this route http://limbiq.test:3000/marketing/admin/login will redirect to http://limbiq.test:3000/admin/login, but not log information is writing. do you have any Idea to do this?
The text was updated successfully, but these errors were encountered:
Should be possible by supplying a Proc like so:
https://github.com/jtrupiano/rack-rewrite#arbitrary-rewriting
Sorry, something went wrong.
No branches or pull requests
I have this configuration on mi config.ru file
require 'rack/rewrite'
use Rack::Rewrite do
r302 %r{/marketing/([^\?])(?.)*}, '/$1'
end
I want make rails write log before redirect.
Example:
this route http://limbiq.test:3000/marketing/admin/login will redirect to http://limbiq.test:3000/admin/login, but not log information is writing. do you have any Idea to do this?
The text was updated successfully, but these errors were encountered: