소스 검색

Fix a typo on the OmniAuth config (#69)

Rodrigo Argumedo 6 년 전
부모
커밋
4506eb3a2b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      template.rb

+ 1 - 1
template.rb

@@ -187,7 +187,7 @@ def add_multiple_authentication
     env_creds = Rails.application.credentials[Rails.env.to_sym] || {}
     %w{ facebook twitter github }.each do |provider|
       if options = env_creds[provider]
-        confg.omniauth provider, options[:app_id], options[:app_secret], options.fetch(:options, {})
+        config.omniauth provider, options[:app_id], options[:app_secret], options.fetch(:options, {})
       end
     end
     """.strip