Ruby on Rails Thursday, May 12, 2016

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.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bb7068001ae39b25499e6845a1c6c8dd%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment