mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 08:08:00 -05:00
improve error message when using omniauth callbacks under a dynamic segment
This commit is contained in:
@@ -414,7 +414,7 @@ and you have set #{mapping.fullpath.inspect}. You can work around by passing
|
||||
|
||||
match "/users/auth/:action/callback",
|
||||
constraints: { action: /google|facebook/ },
|
||||
to: "devise/omniauth_callbacks",
|
||||
to: "devise/omniauth_callbacks#:action",
|
||||
as: :omniauth_callback,
|
||||
via: [:get, :post]
|
||||
ERROR
|
||||
|
||||
Reference in New Issue
Block a user