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

[chore] add success notice to success redirect

Eric Schuberta35be20df3c5
diff --git a/app/controllers/work_package_types/subject_configuration_tab_controller.rb b/app/controllers/work_package_types/subject_configuration_tab_controller.rb
index bbe09fe7793..4029cf06d8e 100644
--- a/app/controllers/work_package_types/subject_configuration_tab_controller.rb
+++ b/app/controllers/work_package_types/subject_configuration_tab_controller.rb
@@ -43,7 +43,7 @@ module WorkPackageTypes
.call(patterns: build_patterns(permitted))
if result.success?
- redirect_to edit_type_subject_configuration_path(@type), status: :see_other
+ redirect_to edit_type_subject_configuration_path(@type), notice: I18n.t(:notice_successful_update)
else
render :edit, status: :unprocessable_entity
end