Two months ago i developed my first little application with Ruby on
Rails.
This application uses subcontrollers as in:
admin/subcontroller/action/id
This works fine in that application.
But i wanted to develop a new application. Now when create a controller
named admin with different subcontrollers it doesn’t seem to work.
When i browse to : admin/subcontroller/action it says it cant find the
action in admin controller.
When i manually add a map.connect line where it states:
map.connect ‘admin/subcontroller/:action/:id’, :controller =>
‘admin/subcontroller’ it works.
but then i have to add a line for every subcontroller.
I dont get it, did something change in the codebase in the last 2
months?