:plain
    location.href = "#{edit_project_path(@project)}";