Skip to content

Conversation

@emeric-martineau
Copy link

@emeric-martineau emeric-martineau commented Oct 30, 2020

When we want use Pow, in documentation is explain to put this:

scope "/" do
    pipe_through :browser

    pow_routes()
    pow_extension_routes()
end

but some routes use POST, PATCH... method.
In this case, we must rewrite routes to extract GET to allow i18n with set_locale.
In other way, in my RFC understanding, redirect is only for GET and HEAD : https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

@coveralls
Copy link

coveralls commented Oct 30, 2020

Coverage Status

Coverage increased (+0.1%) to 98.438% when pulling ac8a3ab on emeric-martineau:master into 9b3b496 on smeevil:master.

@emeric-martineau
Copy link
Author

Hi @smeevil,

any news for this PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants