diff --git a/spec/dummy/config/routes.rb b/spec/dummy/config/routes.rb index 103148a..7f91bf1 100644 --- a/spec/dummy/config/routes.rb +++ b/spec/dummy/config/routes.rb @@ -3,5 +3,7 @@ resources :protected - mount Devise::Oauth2Providable::Engine => '/oauth2' + devise_scope :user do + mount Devise::Oauth2Providable::Engine => '/oauth2' + end end