Routing error

Hi all,

for first sorry for my english.

I've a Rails app with a namespaced route that works fine on localhost but does not work on remote Server.

This is my error:

ActionController::RoutingError (uninitialized constant Monitor::PapTagsController):

My routes.rb

namespace :monitor do     resources :pap_tags do       resources :pap_tag_rules     end   end

file is: pap_tags_controller.rb

class PapTagsController < ApplicationController ... end

It's very strange, can you help me?

thanks.

Your PapTagsController should be inside monitor module. I don’t how it worked in local server without that.

file: /app/controllers/monitor/pap_tags_controller.rb

module Monitor class PapTagsController < ApplicationController

...

end end

What routing error are you getting on the server?