radar/forem — Issue #115: Cannot access path helpers created by omniauth?
Author: DamianPoor
Created: 2012-01-03 11:47:17+00:00
State: open

I have an app that uses Devise for authentication, and also makes use of the omniauth-facebook plugin (so that users can sign in via Facebook.)

It looks like path helper's of the form:
main_app. user_omniauth_authorize_path(:facebook)

fails in correctly pointing to the main application's user_omniauth_authorize_path(:facebook) url.

The reason is because this particular path is created by Devise, and isn't included in the routes.

What is the cleanest way of accessing this path from within Forem?

More generally, how do you access paths defined in the main_app but which aren't in the routes?