【发布时间】:2011-12-28 19:22:25
【问题描述】:
我在使用omniauth 时遇到此错误,使用rails 3.1.3 进行设计。我已经安装了omniauth gem 和omniauth facebook。
按照指南 https://github.com/intridea/omniauth 将 routes.rb 配置为 match '/auth/:provider/callback',to: 'authentications#create'
每当我浏览 url http://localhost:3003/auth/facebook/ 时,我都会发现路由错误
**No route matches [GET] "/auth/facebook"**
请对此提供帮助。我在 stackoverflow 中有相关帖子,但似乎没有任何工作
【问题讨论】:
标签: ruby-on-rails-3