Skip to content

How I can write logs before redirect an URL? #89

Open
@arnolfontalvo

Description

@arnolfontalvo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions