Skip to content

Commit

Permalink
Load routes in devise user scope
Browse files Browse the repository at this point in the history
  • Loading branch information
BRMatt committed Dec 4, 2011
1 parent fb5509d commit 4d083d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/dummy/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@

resources :protected

mount Devise::Oauth2Providable::Engine => '/oauth2'
devise_scope :user do
mount Devise::Oauth2Providable::Engine => '/oauth2'
end
end

0 comments on commit 4d083d1

Please sign in to comment.