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

Fix suggested omniauth path

The suggested omniauth path noted in the CHANGELOG.md under 4.0.0.rc2 
did not work. It was missing an `_omniauth` in the middle of the 
method name.

user_github_authorize_path => user_github_omniauth_authorize_path
This commit is contained in:
Lucas Nelson 2016-05-12 10:24:47 +10:00
parent a4d3b9f14a
commit 4a9eee5a1c

View file

@ -97,7 +97,7 @@
* deprecations * deprecations
* omniauth routes are no longer defined with a wildcard `:provider` parameter, * omniauth routes are no longer defined with a wildcard `:provider` parameter,
and provider specific routes are defined instead, so route helpers like `user_omniauth_authorize_path(:github)` are deprecated in favor of `user_github_authorize_path`. and provider specific routes are defined instead, so route helpers like `user_omniauth_authorize_path(:github)` are deprecated in favor of `user_github_omniauth_authorize_path`.
You can still use `omniauth_authorize_path(:user, :github)` if you need to You can still use `omniauth_authorize_path(:user, :github)` if you need to
call the helpers dynamically. call the helpers dynamically.