简体   繁体   中英

“Missing template” error in Omniauth (ruby-on-rails)

I'm using OmniAuth for Facebook Authentication, and I keep getting this error:

Missing template authentications/index with
{:handlers=>[:rjs, :rhtml, :builder, :rxml, :erb], 
 :locale=>[:en, :en], :formats=>[:html]} in view paths

The view file is present in the app directory, but is apparently not seen.

add

resources :authentications

to your config/routes.rb file

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM