Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use the dynamic :action segment on Omniauth routes. #3985

Merged
merged 1 commit into from Mar 7, 2016

Conversation

lucasmazza
Copy link
Contributor

This was deprecated on rails/rails#23980.

We now generate scope and provider specific routes, like user_facebook_omniauth_callback
or user_github_omniauth_callback.

We could deprecate the omniauth_authorize_path in favor of the generated routes, but
the shared/links.html.erb depends on it to generate all omniauth links at once.

Closes #3983.

This was deprecated on rails/rails#23980.

We now generate scope and provider specific routes, like `user_facebook_omniauth_callback`
or `user_github_omniauth_callback`.

We could deprecate the `omniauth_authorize_path` in favor of the generated routes, but
the `shared/links.html.erb` depends on it to generate all omniauth links at once.

Closes #3983.
@josevalim
Copy link
Contributor

:shipit:

lucasmazza added a commit that referenced this pull request Mar 7, 2016
Do not use the dynamic `:action` segment on Omniauth routes.
@lucasmazza lucasmazza merged commit 76f7624 into master Mar 7, 2016
@lucasmazza lucasmazza deleted the lm-omniauth-route-helpers branch March 7, 2016 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants