This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ryan Sonnek
committed
Oct 13, 2011
1 parent
bfc6021
commit 8cd41db
Showing
6 changed files
with
11 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
Devise::Oauth2Providable::Engine.routes.draw do | ||
root :to => "authorizations#new" | ||
|
||
resources :authorizations, :only => :create | ||
match 'authorize' => 'authorizations#new' | ||
resource :token, :only => :create | ||
|
||
# scope '/oauth2', :as => 'oauth2' do | ||
# resources :authorizations, :controller => 'oauth2/authorizations', :only => :create | ||
# match 'authorize' => 'oauth2/authorizations#new' | ||
# resource :token, :controller => 'oauth2/tokens', :only => :create | ||
# end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
Rails.application.routes.draw do | ||
devise_for :users | ||
resources :protected | ||
|
||
mount Devise::Oauth2Providable::Engine => "/oauth2" | ||
end |
This file was deleted.
Oops, something went wrong.
Empty file.