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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove unused route and its template
Henriette Darge1acc2b837936
diff --git a/modules/bim/app/controllers/bim/bcf/issues_controller.rb b/modules/bim/app/controllers/bim/bcf/issues_controller.rbindex 6ae7a6681fa..b9cb9066c73 100644--- a/modules/bim/app/controllers/bim/bcf/issues_controller.rb+++ b/modules/bim/app/controllers/bim/bcf/issues_controller.rb@@ -46,10 +46,6 @@ module Bimdef upload; end- def index- redirect_to action: :upload- end-def prepare_importrender_nextrescue StandardError => ediff --git a/modules/bim/app/views/bim/bcf/issues/index.html.erb b/modules/bim/app/views/bim/bcf/issues/index.html.erbdeleted file mode 100644index 7001d48e0dd..00000000000--- a/modules/bim/app/views/bim/bcf/issues/index.html.erb+++ /dev/null@@ -1,28 +0,0 @@-<link rel="stylesheet" href="/highlighting/styles.css" />--<%= toolbar title: t('bcf.issues'), html: {class: '-with-dropdown'} do %>- <li class="toolbar-item drop-down">-- </li>- <li class="toolbar-item">- <%= link_to({ action: 'upload' },- title: I18n.t(:label_import),- class: 'button import-bcf-button') do %>- <%= op_icon('button--icon icon-import') %>- <span class="button--text"><%= t(:label_import) %></span>- <% end %>- </li>- <li class="toolbar-item">- <% query = { f: ['bcfIssueAssociated', '=', ['t']] } %>- <%= link_to(project_work_packages_with_query_path(@project, query, format: :bcf),- title: t('bcf.bcf_xml.export'),- class: 'button export-bcf-button') do %>- <%= op_icon('button--icon icon-export') %>- <span class="button--text"><%= t('bcf.bcf_xml.export') %></span>- <% end %>- </li>-<% end %>--<%= render partial: 'render_issues', locals: { issues: @issues } %>--<%= pagination_links_full @issues %>diff --git a/modules/bim/config/routes.rb b/modules/bim/config/routes.rbindex 18ced9377ee..b6e8c749e3a 100644--- a/modules/bim/config/routes.rb+++ b/modules/bim/config/routes.rb@@ -33,7 +33,7 @@ Rails.application.routes.draw doscope "projects/:project_id", as: "project" doget "bcf/menu" => "bim/menus#show"- resources :issues, controller: "bim/bcf/issues" do+ resources :issues, controller: "bim/bcf/issues", except: :index doget :upload, action: :upload, on: :collectionpost :prepare_import, action: :prepare_import, on: :collectionpost :configure_import, action: :configure_import, on: :collection