2016-07-28 8 views
0

この種のエラーについて他の投稿がありますが、自分のプロジェクトに解決策が見つからないようです。 Railsが全く新しい。前もって感謝します。ルーティングエラー初期化されていない定数PdpwebController

私のエラー:上から下

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

Routing Error 
uninitialized constant PdpwebController 

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

Application Trace | Framework Trace | Full Trace 

ルートの優先順位で

ルートの試合を私はあなたのPRを推測

class PwebsController < ApplicationController 
end 
:oblemはあなたのように変更することができ pwebsController

です

関連する問題