Fixing small problem with routes, causing editing of resources to fail in some cases.