選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

init.rb 269B

12345678910
  1. # frozen_string_literal: false
  2. require File.dirname(__FILE__) + '/lib/open_id_authentication'
  3. config.middleware.use OpenIdAuthentication
  4. config.after_initialize do
  5. OpenID::Util.logger = Rails.logger
  6. ActionController::Base.send :include, OpenIdAuthentication
  7. end