我遇到的问题:
ruby
RAILS_ENV=production bundle exec rails s
logs: cache: [GET /] miss
ruby
heroku logs
ActionController::RoutingError (No route matches [GET] "/auth/twitter"):
cache: [GET /auth/twitter] miss
routes.rb
ruby
# auth
match '/auth/:provider/callback' => 'sessions#create'
match '/auth/failure' => 'sessions#failure'
match '/signout' => 'sessions#destroy', :as => :signout
match '/signin' => 'sessions#new', :as => :signin
找了一大堆 stackoverflow 的问答,都没有解决。大家有什么办法吗?