0
第一次抱歉我的英語。Ruby - RoR。 ActionController :: RoutingError(未初始化的常量...)
我有一個名稱空間路徑的Rails應用程序,在localhost上工作正常 但在遠程服務器上不起作用。
這是我的錯誤:
ActionController::RoutingError (uninitialized constant
Monitor::PapTagsController):
我的routes.rb
namespace :monitor do
resources :pap_tags do
resources :pap_tag_rules
end
end
文件是:pap_tags_controller.rb
class PapTagsController < ApplicationController
...
end
這是非常奇怪的,你能幫幫我嗎?
謝謝。