OSDN Git Service

Fix invalid syntax in OmniAuth initializer sample
authorRobert Speicher <rspeicher@gmail.com>
Sat, 11 Aug 2012 00:13:02 +0000 (20:13 -0400)
committerRobert Speicher <rspeicher@gmail.com>
Sat, 11 Aug 2012 23:33:59 +0000 (19:33 -0400)
config/initializers/omniauth.rb.sample

index 8728472..6e844ef 100644 (file)
@@ -2,7 +2,7 @@
 # The wiki has further details on configuring each provider.
 
 Devise.setup do |config|
-  # config.omniauth :github 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
+  # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
 
   # config.omniauth :ldap, 
   #     :host => 'YOUR_LDAP_SERVER',
@@ -12,4 +12,4 @@ Devise.setup do |config|
   #     :method => :plain,
   #     :bind_dn => 'THE_FULL_DN_OF_THE_USER_YOU_WILL_BIND_WITH',
   #     :password => 'THE_PASSWORD_OF_THE_BIND_USER'
-end
\ No newline at end of file
+end