答案 0 :(得分:0)
试试这个,然后在路上进行编辑:
devise_for :users, match: '', path: '',
controllers: {
sessions: 'user/sessions',
registrations: 'user/registrations',
passwords: 'user/passwords',
omniauth_callbacks: 'user/omniauth_callbacks'
},
path_names: { sign_up: 'register', sign_in: 'login', sign_out: 'user/logout' }
答案 1 :(得分:-1)
尝试重新启动服务器。当我遇到相同的确切错误时,这对我有用。