Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

changed access token scopes example code to default_scopes and optional_... #104

Merged
merged 1 commit into from

2 participants

@amkirwan

...scopes

fixed code example for scopes to use default_scopes and optional_scopes.

@felipeelias felipeelias merged commit 4ce27b9 into doorkeeper-gem:master
@felipeelias
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 23, 2012
  1. @amkirwan
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -141,8 +141,8 @@ First configure the scopes in `initializers/doorkeeper.rb`
```ruby
Doorkeeper.configure do
- default_scope :public # if no scope was requested, this will be the default
- optional_scope :admin, :write
+ default_scopes :public # if no scope was requested, this will be the default
+ optional_scopes :admin, :write
end
```
Something went wrong with that request. Please try again.