How to: redirect_to through a folder hierarchy (upwards)

Are you creating subdirectories by hand and putting controllers in them like normal, or are you properly namespacing them? e.g.:

admin/incidents_controller.rb: IncidentsController < ApplicationController

-or-

admin/incidents_controller.rb: Admin::IncidentsController < ApplicationController

-eric

Anyone...?

Tom,

You should be able to do like this.

redirect_to :controller => "/members", :action => 'show'

Thanks, Kilari. http://kilari.co.in

Thanks, Kilari - that was it !