Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README update

  • Loading branch information...
commit 7d4137fcb7f7254cbc6ebd2c098a74a247e50e06 1 parent 6306a0d
@rossta authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 README.md
View
5 README.md
@@ -45,10 +45,7 @@ Trello.configure do |config|
config.consumer_key = TRELLO_CONSUMER_KEY
config.consumer_secret = TRELLO_CONSUMER_SECRET
config.return_url = "http://your.site.com/path/to/receive/post"
- config.callback = Proc.new do |request_token|
- DB.save(request_token.key, request_token.secret)
- redirect_to request_token.authorize_url
- end
+ config.callback = lambda { |request_token| DB.save(request_token.key, request_token.secret) }
end
```
Please sign in to comment.
Something went wrong with that request. Please try again.