Browse Source

fix omniauth link generation. (#74)

fig 5 years ago
parent
commit
423c85b07f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      template.rb

+ 1 - 1
template.rb

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