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

Change paths to bim module

Oliver Günther0df616896e24
diff --git a/modules/bim/app/controllers/bim/bcf/issues_controller.rb b/modules/bim/app/controllers/bim/bcf/issues_controller.rb
index 5197947ef1c..2e88752adaf 100644
--- a/modules/bim/app/controllers/bim/bcf/issues_controller.rb
+++ b/modules/bim/app/controllers/bim/bcf/issues_controller.rb
@@ -86,7 +86,7 @@ module Bim
end
def redirect_to_bcf_issues_list
- redirect_to project_work_packages_path(@project)
+ redirect_to defaults_bcf_project_ifc_models_path(@project)
end
private
diff --git a/modules/bim/app/views/bim/bcf/issues/diff_on_work_packages.html.erb b/modules/bim/app/views/bim/bcf/issues/diff_on_work_packages.html.erb
index 8c3f578d998..57eb7b58751 100644
--- a/modules/bim/app/views/bim/bcf/issues/diff_on_work_packages.html.erb
+++ b/modules/bim/app/views/bim/bcf/issues/diff_on_work_packages.html.erb
@@ -65,7 +65,7 @@
<p><%= t('bcf.bcf_xml.import.perform_description') %></p>
<%= submit_tag t('bcf.bcf_xml.import.button_perform_import'), class: 'button -highlight' %>
<%= link_to t(:button_cancel),
- project_work_packages_path(@project),
+ defaults_bcf_project_ifc_models_path(@project),
class: 'button' %>
<% end %>
diff --git a/modules/bim/app/views/bim/bcf/issues/upload.html.erb b/modules/bim/app/views/bim/bcf/issues/upload.html.erb
index babab0c0688..12212012ab9 100644
--- a/modules/bim/app/views/bim/bcf/issues/upload.html.erb
+++ b/modules/bim/app/views/bim/bcf/issues/upload.html.erb
@@ -14,6 +14,6 @@
<%= submit_tag t('bcf.bcf_xml.import.button_prepare'), class: 'button -highlight' %>
<%= link_to t(:button_cancel),
- project_work_packages_path(@project),
+ defaults_bcf_project_ifc_models_path(@project),
class: 'button' %>
<% end %>