OmniAuth routing callback difference between rails 3.1 and rails 3.2

27 views
Skip to first unread message

Vell

unread,
Aug 1, 2013, 11:34:47 AM8/1/13
to rubyonra...@googlegroups.com
Hello all,

I don't have much experience with OmniAuth and I am trying to figure out what is going on with my routes.

My app is currently running rails 3.1.3. When I run rake routes this is what I see for my user call back:

 user_omniauth_callback        /users/auth/:action/callback(.:format)                                                 {:action=>/company_authentication/, :controller=>"users/omniauth_callbacks"}

Things seem to function without any issue.

I am attempting to upgrade my app to rails 3.2.13. When I run rake routes this is what I see:

user_omniauth_callback        /users/auth/:action/callback(.:format)                                                 users/omniauth_callbacks#(?-mix:company_authentication)

I am not sure I understand what has changed and how to fix it. The error that I currently getting with this route is:

ActionController::RoutingError (uninitialized constant Users::OmniauthCallbacksController)

Does anyone have any ideas on how I can go about looking into this issue?


Reply all
Reply to author
Forward
0 new messages