Displaying 2 results from an estimated 2 matches for "services_control".
Did you mean:
servicecontrol
2009 Oct 19
3
routing namespaced controllers
Hi,
I have one controller in the /app/controllers/animals_controller.rb
directory, and another in
/app/controllers/production/services_controller.rb. The thing is that
one Animal has many Services, and i''d like to access to them using
something like:
http://localhost:3000/animals/1/production/services/1
or at least with:
http://localhost:3000/animals/1/services/1
I tried the last one adding in routes.rb:
map.resources :anima...
2007 Oct 16
2
Is Services a reserved word?
I want to have a controller/model called
services_controller.rb/service.rb
all went well, but then I tried to get a ''list'' view and I got this
error...
Message
uninitialized constant
ServicesController::Services
Location
/services/list
Action
list
Controller
services
which worries me because it doesn''t say
ServicesController:...