Browse files

Merge pull request #56 from dickeyxxx/readme

added syntax highlighting to readme
  • Loading branch information...
2 parents c97e198 + 64d88a4 commit 8042ce35333e109ba0c2929b89e60e07e5dfb590 @arunagw committed May 18, 2013
Showing with 11 additions and 5 deletions.
  1. +11 −5
@@ -16,17 +16,23 @@ Now sign in into the [Twitter developer area]( and create
First start by adding this gem to your Gemfile:
- gem 'omniauth-twitter'
+gem 'omniauth-twitter'
If you need to use the latest HEAD version, you can do so with:
- gem 'omniauth-twitter', :github => 'arunagw/omniauth-twitter'
+gem 'omniauth-twitter', :github => 'arunagw/omniauth-twitter'
Next, tell OmniAuth about this provider. For a Rails app, your `config/initializers/omniauth.rb` file should look like this:
- Rails.application.config.middleware.use OmniAuth::Builder do
- provider :twitter, "CONSUMER_KEY", "CONSUMER_SECRET"
- end
+Rails.application.config.middleware.use OmniAuth::Builder do
+ provider :twitter, "CONSUMER_KEY", "CONSUMER_SECRET"
Replace CONSUMER_KEY and CONSUMER_SECRET with the appropriate values you obtained from earlier.

0 comments on commit 8042ce3

Please sign in to comment.