1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Remove missing action warning from the omniauth callbacks route.

This commit is contained in:
Lucas Mazza 2014-08-19 23:30:49 -03:00
parent 7f3dac8652
commit 0e384f6fb6

View file

@ -435,7 +435,7 @@ ERROR
match "#{path_prefix}/:action/callback",
constraints: { action: providers },
to: controllers[:omniauth_callbacks],
to: "#{controllers[:omniauth_callbacks]}#:action",
as: :omniauth_callback,
via: [:get, :post]
ensure