Displaying 1 result from an estimated 1 matches for "root_control".
Did you mean:
oom_control
2007 Jul 18
16
Edge Rails namespaced routing
...doesnt make sense if the
controllers have little shared logic/behaviour; only a common name. I
know I can just use a different name, but with the addition of
namespaces this should no longer be a concern with a proper design.
So.. I''m thinking something like:
/app/controllers/customers/root_controller.rb
/app/controllers/customers/tags_controller.rb
/app/controllers/customers/notes_controller.rb
/app/controllers/products/root_controller.rb
/app/controllers/products/tags_controller.rb
/app/controllers/products/notes_controller.rb
with routes like:
map.namespace(:customers) do |customers|
c...