Omniauth Facebook Manual Rails Routes
问题 I am trying to use Omniauth facebook with two devise models in a Rails 3 app. Currently that's not something that's possible using omniauthable and the devise helpers. A similar question answered how to do this: Omniauth "with" STI and devise "..move your omniauth configuration from devise.rb to omniauth.rb and create your own omniauth routes.' But I am having trouble in defining these routes and helpers, i.e. for facebook I used a devise helper like this: user_omniauth_authorize_path(