Sha256: 51a1e80405d24d3f53ccd1e9e34f392819c3336675388805591894132eba20d8

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 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::Admin, :at=>"oauth/admin"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-oauth2-server-1.4.6 test/rails3/config/routes.rb