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


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




You should be able to do like this.

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

Thanks, Kilari.

Thanks, Kilari - that was it !