Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Make render the final action statement

Christophe Bliard6d2007a0bb3b
diff --git a/app/controllers/statuses_controller.rb b/app/controllers/statuses_controller.rb
index 1c1a1a489b7..6fae2f9039b 100644
--- a/app/controllers/statuses_controller.rb
+++ b/app/controllers/statuses_controller.rb
@@ -61,9 +61,9 @@ class StatusesController < ApplicationController
def update
@status = Status.find(params[:id])
if @status.update(permitted_params.status)
+ apply_status_p_complete_change
flash[:notice] = I18n.t(:notice_successful_update)
redirect_to action: "index"
- apply_status_p_complete_change
else
render action: "edit"
end