Added invalid_resource_path that can be overriden instead of always redirecting to root_path