Merge pull request #3573 from kroky/master

improve error message when using omniauth callbacks under a dynamic segment
This commit is contained in:
José Valim
2015-04-21 12:46:31 +02:00

View File

@@ -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