Browse files

added syntax highlighting to readme

  • Loading branch information...
1 parent c97e198 commit 64d88a4faa9a265c9ea3945b38e2a79782d7c981 @dickeyxxx dickeyxxx 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 64d88a4

Please sign in to comment.