:plain
    location.href = "#{edit_namespace_project_path(@project.namespace, @project)}";