문제 설명
정의되지 않은 omniauth_authorize_path 메서드 오류 (Undefined omniauth_authorize_path method Error)
테이블 연결이 있는 레일즈 앱을 빌드 중이며 특정 컨트롤러, 뷰 및 모델의 이름을 바꾼 후 #<#:0x007fbb34f8ffb0>
코드는 https://github.com/ReemAlattas/ActionTracker에서 찾으세요.
디바이스를 이메일과 페이스북 인증에 사용하고 있습니다.
미리 감사합니다!
참조 솔루션
방법 1:
Change devise.rb
setup to this:
config/initializers/devise.rb
Devise.setup do |config|
....
# Omniauth setup
config.omniauth :facebook, 'APP_ID', 'APP_SECRET'
....
end
(by Reem、Prashant4224)