diff --git a/app/controllers/performance_controller.rb b/app/controllers/performance_controller.rb index 7b09d40..3280d2b 100644 --- a/app/controllers/performance_controller.rb +++ b/app/controllers/performance_controller.rb @@ -819,7 +819,7 @@ def performance_project_scope end def performance_action_detail_redirect_path(target) - if @current_project + if @current_project && @current_project.persisted? project_slug_performance_action_detail_path(@current_project.slug, target: target) elsif @project project_performance_action_detail_path(@project, target: target)