2016-07-28 5 views
0

Я знаю, что есть другие сообщения об этой ошибке, но я все еще не могу найти решение для своего собственного проекта. Совершенно новый для Rails. Заранее спасибо.Ошибка маршрутизации неинициализированная постоянная PdpwebController

моя ошибка:

Routing Error 
uninitialized constant PdpwebController 

Rails.root: C:/Users/x/Documents/pdpweb 

Application Trace | Framework Trace | Full Trace 

Маршруты

Маршруты матч в приоритетном порядке сверху вниз

Helper HTTP Verb Path Controller#Action 
Path/Url  
Path Match 
pwebs_path GET /pwebs(.:format) pwebs#index 
POST /pwebs(.:format) pwebs#create 
new_pweb_path GET /pwebs/new(.:format) pwebs#new 
edit_pweb_path GET /pwebs/:id/edit(.:format) pwebs#edit 
pweb_path GET /pwebs/:id(.:format) pwebs#show 
PATCH /pwebs/:id(.:format) pwebs#update 
PUT /pwebs/:id(.:format) pwebs#update 
DELETE /pwebs/:id(.:format) pwebs#destroy 
root_path GET/ pdpweb#home 

Мой route.rb

Routing Error uninitialized constant PdpwebController 

my pwebs_controller.rb 
class pwebsController < ApplicationController 
end 

ответ

0

Я думаю, ваш пр oblem является pwebsController

Вы можете изменить как:

class PwebsController < ApplicationController 
end 
Смежные вопросы