Sha256: 80045a7c585d1509c521d5291909d3bef665a18a442e5bc98507fc80a4be68ef

Contents?: true

Size: 302 Bytes

Versions: 26

Compression:

Stored size: 302 Bytes

Contents

MyApp::Application.routes.draw do
  # Authorization flow.
  match "oauth/authorize" => "oauth#authorize"
  match "oauth/grant" => "oauth#grant"
  match "oauth/deny" => "oauth#deny"

  # Resources we want to protect
  match ":action"=>"api"

  mount Rack::OAuth2::Server::Admin, :at=>"oauth/admin"

end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
rack-oauth2-server-2.8.1 test/rails3/config/routes.rb
rack-oauth2-server-2.8.0 test/rails3/config/routes.rb
rack-oauth2-server-2.7.0 test/rails3/config/routes.rb
rack-oauth2-server-2.6.1 test/rails3/config/routes.rb
rack-oauth2-server-2.6.0 test/rails3/config/routes.rb
rack-oauth2-server-2.5.1 test/rails3/config/routes.rb
rack-oauth2-server-2.5.0 test/rails3/config/routes.rb
rack-oauth2-server-2.4.2 test/rails3/config/routes.rb
rack-oauth2-server-2.4.1 test/rails3/config/routes.rb
rack-oauth2-server-2.4.0 test/rails3/config/routes.rb
rack-oauth2-server-2.3.0 test/rails3/config/routes.rb
rack-oauth2-server-2.2.2 test/rails3/config/routes.rb
tpitale-rack-oauth2-server-2.2.1.2 test/rails3/config/routes.rb
tpitale-rack-oauth2-server-2.2.1.1 test/rails3/config/routes.rb
tpitale-rack-oauth2-server-2.2.1 test/rails3/config/routes.rb
rack-oauth2-server-2.2.1 test/rails3/config/routes.rb
rack-oauth2-server-2.2.0 test/rails3/config/routes.rb
rack-oauth2-server-2.1.0 test/rails3/config/routes.rb
rack-oauth2-server-2.0.1 test/rails3/config/routes.rb
rack-oauth2-server-2.0.0 test/rails3/config/routes.rb