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
[63485] Remove `show_local_breadcrumb` and `default_breadcrumb` (#18663)
Henriette Dargeee8452282ac8
diff --git a/app/controllers/admin/attachments/quarantined_attachments_controller.rb b/app/controllers/admin/attachments/quarantined_attachments_controller.rbindex 3b28ca495d5..bc6db0ec88a 100644--- a/app/controllers/admin/attachments/quarantined_attachments_controller.rb+++ b/app/controllers/admin/attachments/quarantined_attachments_controller.rb@@ -51,12 +51,6 @@ module Adminredirect_to action: :indexend- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-privatedef create_journal(container, user, notes)diff --git a/app/controllers/admin/backups_controller.rb b/app/controllers/admin/backups_controller.rbindex 0be5ebdff8a..85f99bd405c 100644--- a/app/controllers/admin/backups_controller.rb+++ b/app/controllers/admin/backups_controller.rb@@ -76,12 +76,6 @@ class Admin::BackupsController < ApplicationControllerredirect_to action: "show"end- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-def check_enabledrender_404 unless OpenProject::Configuration.backup_enabled?enddiff --git a/app/controllers/admin/custom_fields/custom_field_projects_controller.rb b/app/controllers/admin/custom_fields/custom_field_projects_controller.rbindex 390ad5ddf7f..1607b81037b 100644--- a/app/controllers/admin/custom_fields/custom_field_projects_controller.rb+++ b/app/controllers/admin/custom_fields/custom_field_projects_controller.rb@@ -89,12 +89,6 @@ class Admin::CustomFields::CustomFieldProjectsController < ApplicationControllerrespond_to_with_turbo_streams(status: delete_service.success? ? :ok : :unprocessable_entity)end- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-privatedef render_project_list(url_for_action: action_name)diff --git a/app/controllers/admin/settings/attachments_settings_controller.rb b/app/controllers/admin/settings/attachments_settings_controller.rbindex f727c70c44d..ed3d2e90445 100644--- a/app/controllers/admin/settings/attachments_settings_controller.rb+++ b/app/controllers/admin/settings/attachments_settings_controller.rb@@ -30,12 +30,6 @@ module Admin::Settingsclass AttachmentsSettingsController < ::Admin::SettingsControllermenu_item :attachments- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-def settings_paramssuper.tap do |settings|settings["attachment_whitelist"] = settings["attachment_whitelist"].split(/\r?\n/)diff --git a/app/controllers/admin/settings/enumerations_controller_base.rb b/app/controllers/admin/settings/enumerations_controller_base.rbindex eda3fef90ce..f1d9ff93623 100644--- a/app/controllers/admin/settings/enumerations_controller_base.rb+++ b/app/controllers/admin/settings/enumerations_controller_base.rb@@ -103,8 +103,6 @@ module Admin@other_enumerations = enumeration_class.all - [@enumeration]end- def default_breadcrumb; end-privatedef move_paramsdiff --git a/app/controllers/admin/settings/new_project_settings_controller.rb b/app/controllers/admin/settings/new_project_settings_controller.rbindex 05595025674..3f08ad4d1d4 100644--- a/app/controllers/admin/settings/new_project_settings_controller.rb+++ b/app/controllers/admin/settings/new_project_settings_controller.rb@@ -32,10 +32,6 @@ module Admin::Settingsbefore_action :validate_enabled_modules, only: :update # rubocop:disable Rails/LexicallyScopedActionFilter- def default_breadcrumb- t(:label_project_new)- end-private# rubocop:disable Metrics/AbcSize, Metrics/PerceivedComplexitydiff --git a/app/controllers/admin/settings/project_custom_fields_controller.rb b/app/controllers/admin/settings/project_custom_fields_controller.rbindex 8a53a428268..8a2b082630f 100644--- a/app/controllers/admin/settings/project_custom_fields_controller.rb+++ b/app/controllers/admin/settings/project_custom_fields_controller.rb@@ -48,10 +48,6 @@ module Admin::Settingsbefore_action :find_unlink_project_custom_field_mapping, only: :unlink# rubocop:enable Rails/LexicallyScopedActionFilter- def show_local_breadcrumb- false- end-def indexrespond_to :htmlenddiff --git a/app/controllers/admin/settings/users_settings_controller.rb b/app/controllers/admin/settings/users_settings_controller.rbindex e0d2d2de972..581da429fb6 100644--- a/app/controllers/admin/settings/users_settings_controller.rb+++ b/app/controllers/admin/settings/users_settings_controller.rb@@ -37,10 +37,6 @@ module Admin::Settingsrespond_to :htmlend- def show_local_breadcrumb- false- end-def settings_paramssuper.tap do |settings|if settings["consent_required"] == "1" && params["toggle_consent_time"] == "1"diff --git a/app/controllers/admin/settings/virus_scanning_settings_controller.rb b/app/controllers/admin/settings/virus_scanning_settings_controller.rbindex 0f530857b47..57eb4fc24d8 100644--- a/app/controllers/admin/settings/virus_scanning_settings_controller.rb+++ b/app/controllers/admin/settings/virus_scanning_settings_controller.rb@@ -35,10 +35,6 @@ module Admin::Settingsbefore_action :require_ee, except: :show # rubocop:disable Rails/LexicallyScopedActionFilterbefore_action :check_clamav, only: %i[update], if: -> { scan_enabled? }- def show_local_breadcrumb- false- end-def av_formselected = params.dig(:settings, :antivirus_scan_mode)&.to_sym || :disableddiff --git a/app/controllers/admin/settings_controller.rb b/app/controllers/admin/settings_controller.rbindex ae81c5fa823..b259e8690e6 100644--- a/app/controllers/admin/settings_controller.rb+++ b/app/controllers/admin/settings_controller.rb@@ -81,18 +81,6 @@ module Adminredirect_to action: :show_plugin, id: @plugin.idend- def show_local_breadcrumb- false- end-- def default_breadcrumb- if @plugin- @plugin.name- else- I18n.t(:label_setting_plural)- end- end-protecteddef find_plugindiff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rbindex 790cdd4504a..3cf07262c27 100644--- a/app/controllers/admin_controller.rb+++ b/app/controllers/admin_controller.rb@@ -90,12 +90,6 @@ class AdminController < ApplicationController@storage_information = OpenProject::Storage.mount_informationend- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-privatedef hidden_admin_menu_itemsdiff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rbindex 618f55b5937..718b30d4658 100644--- a/app/controllers/announcements_controller.rb+++ b/app/controllers/announcements_controller.rb@@ -20,10 +20,6 @@ class AnnouncementsController < ApplicationControllerprivate- def show_local_breadcrumb- false- end-def announcement_paramsparams.require(:announcement).permit("text", "show_until", "active")enddiff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rbindex 2dd566886db..6210f661029 100644--- a/app/controllers/application_controller.rb+++ b/app/controllers/application_controller.rb@@ -436,21 +436,6 @@ class ApplicationController < ActionController::Baseapi_request? ? nil : superend- def default_breadcrumb- label = "label_#{controller_name.singularize}"-- I18n.t(label + "_plural",- default: label.to_sym)- end-- helper_method :default_breadcrumb-- def show_local_breadcrumb- false- end-- helper_method :show_local_breadcrumb-def admin_first_level_menu_entrymenu_item = admin_menu_item(current_menu_item)menu_item.parentdiff --git a/app/controllers/attribute_help_texts_controller.rb b/app/controllers/attribute_help_texts_controller.rbindex 1d42804a5a1..cf5fb015493 100644--- a/app/controllers/attribute_help_texts_controller.rb+++ b/app/controllers/attribute_help_texts_controller.rb@@ -85,12 +85,6 @@ class AttributeHelpTextsController < ApplicationControllerprotected- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-privatedef permitted_params_with_attachmentsdiff --git a/app/controllers/colors_controller.rb b/app/controllers/colors_controller.rbindex 9aba619dff5..19bf635015d 100644--- a/app/controllers/colors_controller.rb+++ b/app/controllers/colors_controller.rb@@ -102,12 +102,6 @@ class ColorsController < ApplicationControllerprotected- def show_local_breadcrumb- false- end-- def default_breadcrumb; end-def require_admin_unless_readonly_api_requestrequire_admin unless %w[index show].include? action_name andapi_request?diff --git a/app/controllers/custom_actions_controller.rb b/app/controllers/custom_actions_controller.rbindex 0601c9322bb..54c3fbaf253 100644--- a/app/controllers/custom_actions_controller.rb+++ b/app/controllers/custom_actions_controller.rb@@ -102,10 +102,4 @@ class CustomActionsController < ApplicationControllerparams[:custom_action][:conditions] ||= {}params[:custom_action][:actions] ||= {}end-- def show_local_breadcrumb- false- end-- def default_breadcrumb; endenddiff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rbindex 3bf72aedf15..89ad257399e 100644--- a/app/controllers/custom_fields_controller.rb+++ b/app/controllers/custom_fields_controller.rb@@ -61,12 +61,6 @@ class CustomFieldsController < ApplicationControllerprotected- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-def validate_enterprise_tokenif params.dig(:custom_field, :field_format) == "hierarchy" && !EnterpriseToken.allows_to?(:custom_field_hierarchies)render_403diff --git a/app/controllers/enterprises_controller.rb b/app/controllers/enterprises_controller.rbindex 4f07aa40012..68dd60d575c 100644--- a/app/controllers/enterprises_controller.rb+++ b/app/controllers/enterprises_controller.rb@@ -98,12 +98,6 @@ class EnterprisesController < ApplicationControllerhelpers.write_augur_to_gonend- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-def check_user_limitif OpenProject::Enterprise.user_limit_reached?flash.now[:warning] = I18n.t(diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rbindex 82de14c39b8..8d925f727db 100644--- a/app/controllers/groups_controller.rb+++ b/app/controllers/groups_controller.rb@@ -160,10 +160,6 @@ class GroupsController < ApplicationControllerGroup.in_project(Project.allowed_to(current_user, :view_members)).exists?end- def show_local_breadcrumb- false- end-def respond_membership_altered(service_call)if service_call.success?flash[:notice] = I18n.t :notice_successful_updatediff --git a/app/controllers/homescreen_controller.rb b/app/controllers/homescreen_controller.rbindex 17135f4314b..5f2b8810cb7 100644--- a/app/controllers/homescreen_controller.rb+++ b/app/controllers/homescreen_controller.rb@@ -61,10 +61,4 @@ class HomescreenController < ApplicationControllerredirect_to_global_menu_item(params[:jump]) && returnendend-- def default_breadcrumb; end-- def show_local_breadcrumb- false- endenddiff --git a/app/controllers/ldap_auth_sources_controller.rb b/app/controllers/ldap_auth_sources_controller.rbindex 17e46c044da..61d7aa0a69d 100644--- a/app/controllers/ldap_auth_sources_controller.rb+++ b/app/controllers/ldap_auth_sources_controller.rb@@ -106,10 +106,6 @@ class LdapAuthSourcesController < ApplicationControllerendend- def show_local_breadcrumb- false- end-def block_if_password_login_disabledrender_404 if OpenProject::Configuration.disable_password_login?enddiff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rbindex 129cccccdf5..1b754937f77 100644--- a/app/controllers/my_controller.rb+++ b/app/controllers/my_controller.rb@@ -202,14 +202,6 @@ class MyController < ApplicationControllerprivate- def default_breadcrumb- I18n.t(:label_my_account)- end-- def show_local_breadcrumb- false- end-def redirect_if_password_change_not_allowed_for(user)unless user.change_password_allowed?flash[:error] = I18n.t(:notice_can_t_change_password)diff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rbindex 6551f019f2b..099dfbca561 100644--- a/app/controllers/notifications_controller.rb+++ b/app/controllers/notifications_controller.rb@@ -73,8 +73,6 @@ class NotificationsController < ApplicationControllerdef split_view_base_route = notifications_path(request.query_parameters)- def default_breadcrumb; end-def render_notifications_layout# Frontend will handle rendering# but we will need to render with notification specific layoutdiff --git a/app/controllers/oauth/applications_controller.rb b/app/controllers/oauth/applications_controller.rbindex 2964cca876d..ff7668f4d35 100644--- a/app/controllers/oauth/applications_controller.rb+++ b/app/controllers/oauth/applications_controller.rb@@ -97,14 +97,6 @@ module OAuthredirect_to action: :indexend- protected-- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-privatedef prevent_builtin_editsdiff --git a/app/controllers/omni_auth_login_controller.rb b/app/controllers/omni_auth_login_controller.rbindex b6729310a6e..866a287bb80 100644--- a/app/controllers/omni_auth_login_controller.rb+++ b/app/controllers/omni_auth_login_controller.rb@@ -84,6 +84,4 @@ class OmniAuthLoginController < ApplicationControllerdef omniauth_back_urlrequest.env["omniauth.origin"].presence || params[:RelayState]end-- def default_breadcrumb; endenddiff --git a/app/controllers/placeholder_users_controller.rb b/app/controllers/placeholder_users_controller.rbindex e1317bde96b..50dffa8760d 100644--- a/app/controllers/placeholder_users_controller.rb+++ b/app/controllers/placeholder_users_controller.rb@@ -155,8 +155,4 @@ class PlaceholderUsersController < ApplicationControllerrender_403 message: I18n.t("placeholder_users.right_to_manage_members_missing")endend-- def show_local_breadcrumb- false- endenddiff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rbindex 33d2bcbd23f..d1b5221012c 100644--- a/app/controllers/roles_controller.rb+++ b/app/controllers/roles_controller.rb@@ -149,10 +149,6 @@ class RolesController < ApplicationControllerRole.visible.ordered_by_builtin_and_positionend- def show_local_breadcrumb- false- end-def new_paramspermitted_params.role? || {}enddiff --git a/app/controllers/statuses_controller.rb b/app/controllers/statuses_controller.rbindex cd097715a84..ec33548534e 100644--- a/app/controllers/statuses_controller.rb+++ b/app/controllers/statuses_controller.rb@@ -85,10 +85,6 @@ class StatusesController < ApplicationControllerprotected- def show_local_breadcrumb- false- end-def recompute_progress_valuesattributes_triggering_recomputing = ["excluded_from_totals"]attributes_triggering_recomputing << "default_done_ratio" if WorkPackage.status_based_mode?diff --git a/app/controllers/types_controller.rb b/app/controllers/types_controller.rbindex b7f5af4f812..b22c5245aa6 100644--- a/app/controllers/types_controller.rb+++ b/app/controllers/types_controller.rb@@ -136,10 +136,6 @@ class TypesController < ApplicationControllerrender action: :edit, status:end- def show_local_breadcrumb- false- end-def destroy_error_messageif @type.is_standard?t(:error_can_not_delete_standard_type)diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rbindex 3a0b2e866ef..6fc83e79681 100644--- a/app/controllers/users_controller.rb+++ b/app/controllers/users_controller.rb@@ -282,10 +282,6 @@ class UsersController < ApplicationControllerprotected- def show_local_breadcrumb- false- end-def build_user_update_params # rubocop:disable Metrics/AbcSizepref_params = permitted_params.pref.to_hupdate_params = permitted_paramsdiff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rbindex 007bb3268b8..29e18b9a751 100644--- a/app/controllers/wiki_controller.rb+++ b/app/controllers/wiki_controller.rb@@ -414,14 +414,6 @@ class WikiController < ApplicationControllerpage.editable_by?(User.current)end- def default_breadcrumb- Wiki.model_name.human- end-- def show_local_breadcrumb- false- end-def redirect_to_showredirect_to action: :show, project_id: @project, id: @pageenddiff --git a/app/controllers/work_packages/bulk_controller.rb b/app/controllers/work_packages/bulk_controller.rbindex 54b072003da..81a2820a53b 100644--- a/app/controllers/work_packages/bulk_controller.rb+++ b/app/controllers/work_packages/bulk_controller.rb@@ -118,10 +118,6 @@ class WorkPackages::BulkController < ApplicationControllercurrent_userend- def default_breadcrumb- I18n.t(:label_work_package_plural)- end-def transform_attributes(attributes)Hash(attributes).compact_blankdiff --git a/app/controllers/work_packages/dialogs_controller.rb b/app/controllers/work_packages/dialogs_controller.rbindex d3fdd1fbc93..dd32d35cdbb 100644--- a/app/controllers/work_packages/dialogs_controller.rb+++ b/app/controllers/work_packages/dialogs_controller.rb@@ -100,6 +100,4 @@ class WorkPackages::DialogsController < ApplicationControllerproject: @project}end-- def default_breadcrumb; endenddiff --git a/app/controllers/work_packages/moves_controller.rb b/app/controllers/work_packages/moves_controller.rbindex 84fb506e34c..ef2141b28a5 100644--- a/app/controllers/work_packages/moves_controller.rb+++ b/app/controllers/work_packages/moves_controller.rb@@ -97,10 +97,6 @@ class WorkPackages::MovesController < ApplicationControllerendend- def default_breadcrumb- I18n.t(:label_move_work_package)- end-# Check if project is unique before bulk operationsdef check_project_uniquenessunless @projectdiff --git a/app/controllers/work_packages/reports_controller.rb b/app/controllers/work_packages/reports_controller.rbindex 7507026789b..d18811bb1b8 100644--- a/app/controllers/work_packages/reports_controller.rb+++ b/app/controllers/work_packages/reports_controller.rb@@ -59,10 +59,4 @@ class WorkPackages::ReportsController < ApplicationControllerendendend-- private-- def default_breadcrumb- I18n.t(:label_summary)- endenddiff --git a/app/controllers/workflows_controller.rb b/app/controllers/workflows_controller.rbindex 3ce4dc50d8f..82a689dcc2e 100644--- a/app/controllers/workflows_controller.rb+++ b/app/controllers/workflows_controller.rb@@ -93,10 +93,6 @@ class WorkflowsController < ApplicationControllerendend- def show_local_breadcrumb- false- end-privatedef statuses_for_formdiff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rbindex 48d65d53682..5e61831cb0e 100644--- a/app/helpers/breadcrumb_helper.rb+++ b/app/helpers/breadcrumb_helper.rb@@ -27,20 +27,6 @@#++module BreadcrumbHelper- def full_breadcrumbs- render(Primer::Beta::Breadcrumbs.new(test_selector: "op-breadcrumb")) do |breadcrumbs|- breadcrumb_paths.each_with_index do |item, index|- item = anchor_string_to_object(item) if item.is_a?(String) && item.start_with?("\u003c")-- if item.is_a?(Hash)- breadcrumbs.with_item(href: item[:href], classes: index == 0 ? "first-breadcrumb-element" : nil) { item[:text] }- else- breadcrumbs.with_item(href: "#", classes: index == 0 ? "first-breadcrumb-element" : nil) { item }- end- end- end- end-def nested_breadcrumb_element(section_header, title)output = "".html_safeoutput << "#{section_header}: "@@ -48,33 +34,4 @@ module BreadcrumbHelperoutputend-- def breadcrumb_paths(*args)- if args.empty?- @breadcrumb_paths ||= [default_breadcrumb]- else- @breadcrumb_paths ||= []- @breadcrumb_paths += args.flatten.compact- end- end-- def show_breadcrumb- if !!(defined? show_local_breadcrumb)- show_local_breadcrumb- else- false- end- end-- private-- # transform anchor tag strings to {href, text} objects- # e.g "\u003ca href=\"/admin\"\u003eAdministration\u003c/a\u003e"- def anchor_string_to_object(html_string)- # Parse the HTML- doc = Nokogiri::HTML.fragment(html_string)- # Extract href and text- anchor = doc.at("a")- { href: anchor["href"], text: anchor.text }- endenddiff --git a/app/views/account/consent.html.erb b/app/views/account/consent.html.erbindex 2274f155910..5148b6305df 100644--- a/app/views/account/consent.html.erb+++ b/app/views/account/consent.html.erb@@ -27,7 +27,6 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<% breadcrumb_paths(t("consent.title")) %><% html_title t("consent.title") %><%= call_hook :view_account_consent_top %><div id="login-form" class="account-consent form -bordered">diff --git a/app/views/account/exit.html.erb b/app/views/account/exit.html.erbindex ea253cdd1b3..8b670699ccf 100644--- a/app/views/account/exit.html.erb+++ b/app/views/account/exit.html.erb@@ -31,7 +31,6 @@ See COPYRIGHT and LICENSE files for more details.fail ArgumentError, "missing instructions" unless defined? instructions %><% html_title t(:label_login) %>-<% breadcrumb_paths(t(:label_login)) %><%= call_hook :view_account_login_top %><%diff --git a/app/views/account/login.html.erb b/app/views/account/login.html.erbindex a2486611d22..0de1088a06d 100644--- a/app/views/account/login.html.erb+++ b/app/views/account/login.html.erb@@ -27,7 +27,6 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<% breadcrumb_paths(t(:label_login)) %><% html_title t(:label_login) %><%= call_hook :view_account_login_top %><div id="login-form" class="form -bordered">diff --git a/app/views/colors/edit.html.erb b/app/views/colors/edit.html.erbindex 242fc7cd202..36b01d8f6b4 100644--- a/app/views/colors/edit.html.erb+++ b/app/views/colors/edit.html.erb@@ -28,7 +28,6 @@ See COPYRIGHT and LICENSE files for more details.++#%><% html_title t(:label_administration), "#{t('.label_edit_color')} #{h @color.name}" %>-<% local_assigns[:additional_breadcrumb] = @color.name %><%= render Colors::EditPageHeaderComponent.new(color: @color) %>diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erbindex bc71be1f677..0579675d29d 100644--- a/app/views/layouts/admin.html.erb+++ b/app/views/layouts/admin.html.erb@@ -27,21 +27,6 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<%- if local_assigns[:additional_breadcrumb].nil?- breadcrumb_paths(- ActionController::Base.helpers.link_to(t(:label_administration), admin_index_path),- default_breadcrumb- )- else- breadcrumb_paths(- ActionController::Base.helpers.link_to(t(:label_administration), admin_index_path),- default_breadcrumb,- local_assigns[:additional_breadcrumb]- )- end-%>-<% @page_header_title = t(:label_administration) %><%= render template: "layouts/base", locals: { menu_name: :admin_menu } %>diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erbindex c3dbc96fbec..457f19ef342 100644--- a/app/views/layouts/base.html.erb+++ b/app/views/layouts/base.html.erb@@ -131,15 +131,6 @@ See COPYRIGHT and LICENSE files for more details.<% end %><div id="content-body">- <% if show_decoration %>- <div id="breadcrumb" class="<%= show_breadcrumb ? ' -show' : '' %>">- <%= you_are_here_info %>- <div id="full_breadcrumbs">- <%= full_breadcrumbs %>- </div>- <%= call_hook :view_layouts_base_breadcrumb %>- </div>- <% end %><%= content_for :content_body %><% unless local_assigns[:no_layout_yield] %><%= yield %>diff --git a/app/views/oauth/applications/show.html.erb b/app/views/oauth/applications/show.html.erbindex 09b9cf9a5b6..abf63bb0592 100644--- a/app/views/oauth/applications/show.html.erb+++ b/app/views/oauth/applications/show.html.erb@@ -27,7 +27,6 @@ See COPYRIGHT and LICENSE files for more details.++#%><% html_title t(:label_administration), t("oauth.application.singular"), h(@application.name) -%>-<% local_assigns[:additional_breadcrumb] = h(@application.name) %><%= render OAuth::ShowPageHeaderComponent.new(application: @application) %>diff --git a/app/views/users/change_status_info.html.erb b/app/views/users/change_status_info.html.erbindex 66d16b8fd6c..5ac7ac8a30f 100644--- a/app/views/users/change_status_info.html.erb+++ b/app/views/users/change_status_info.html.erb@@ -27,7 +27,6 @@ See COPYRIGHT and LICENSE files for more details.++#%><% html_title(t(:label_administration), t(:label_change_status_of_user, username: @user.name).to_s) -%>-<% local_assigns[:additional_breadcrumb] = @user.name %><% new_status = t("user.#{@status_change}") %><%= labelled_tabular_form_with model: @user, url: change_status_user_path(@user, @status_change => "1"), html: { method: :post, class: "form" } do %>diff --git a/app/views/wiki/rename.html.erb b/app/views/wiki/rename.html.erbindex b2fd23f4093..8a77fd0f28c 100644--- a/app/views/wiki/rename.html.erb+++ b/app/views/wiki/rename.html.erb@@ -28,7 +28,7 @@ See COPYRIGHT and LICENSE files for more details.++#%><% html_title t(:permission_rename_wiki_pages) %>-<% breadcrumb_paths(*(@page.ancestors.reverse.collect { |parent| link_to h(parent.breadcrumb_title), { id: parent, project_id: parent.project } } + [h(@page.breadcrumb_title)])) %>+<%=render Primer::OpenProject::PageHeader.new do |header|header.with_title { h(@page.title) }diff --git a/frontend/src/global_styles/layout/_base_mobile.sass b/frontend/src/global_styles/layout/_base_mobile.sassindex 09a78161373..7f671bd3549 100644--- a/frontend/src/global_styles/layout/_base_mobile.sass+++ b/frontend/src/global_styles/layout/_base_mobile.sass@@ -47,7 +47,6 @@padding-left: 15pxpadding-right: 15px- #breadcrumb,.hidden-for-mobiledisplay: none !importantdiff --git a/frontend/src/global_styles/layout/_breadcrumb.sass b/frontend/src/global_styles/layout/_breadcrumb.sassdeleted file mode 100644index 8a963a00c5d..00000000000--- a/frontend/src/global_styles/layout/_breadcrumb.sass+++ /dev/null@@ -1,35 +0,0 @@-//-- copyright-// OpenProject is an open source project management software.-// Copyright (C) the OpenProject GmbH-//-// This program is free software; you can redistribute it and/or-// modify it under the terms of the GNU General Public License version 3.-//-// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:-// Copyright (C) 2006-2013 Jean-Philippe Lang-// Copyright (C) 2010-2013 the ChiliProject Team-//-// This program is free software; you can redistribute it and/or-// modify it under the terms of the GNU General Public License-// as published by the Free Software Foundation; either version 2-// of the License, or (at your option) any later version.-//-// This program is distributed in the hope that it will be useful,-// but WITHOUT ANY WARRANTY; without even the implied warranty of-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-// GNU General Public License for more details.-//-// You should have received a copy of the GNU General Public License-// along with this program; if not, write to the Free Software-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.-//-// See COPYRIGHT and LICENSE files for more details.-//++--#breadcrumb- @include global-breadcrumb-styles- min-height: var(--breadcrumb-height)- padding: 0-- li- white-space: nowrapdiff --git a/frontend/src/global_styles/layout/_index.sass b/frontend/src/global_styles/layout/_index.sassindex 6219847bb86..f82d5590250 100644--- a/frontend/src/global_styles/layout/_index.sass+++ b/frontend/src/global_styles/layout/_index.sass@@ -32,7 +32,6 @@@import grid@import tree_menu@import warning_bar-@import breadcrumb@import main_menu@import main_menu_mobile@import searchable_menudiff --git a/frontend/src/global_styles/layout/_print.sass b/frontend/src/global_styles/layout/_print.sassindex 59f82e1d4b3..530c141f83b 100644--- a/frontend/src/global_styles/layout/_print.sass+++ b/frontend/src/global_styles/layout/_print.sass@@ -5,7 +5,6 @@#main-menu,#sidebar,#footer,- #breadcrumb,.op-app-header,.contextual,.other-formats,diff --git a/frontend/src/global_styles/openproject/_homescreen.sass b/frontend/src/global_styles/openproject/_homescreen.sassindex d672b348e4e..6ee93be7754 100644--- a/frontend/src/global_styles/openproject/_homescreen.sass+++ b/frontend/src/global_styles/openproject/_homescreen.sass@@ -37,9 +37,6 @@flex-basis: 100%border-color: var(--borderColor-accent-muted)-.controller-homescreen #breadcrumb- display: none-.homescreen--linksmargin: 10px 0display: flexdiff --git a/frontend/src/global_styles/primer/_overrides.sass b/frontend/src/global_styles/primer/_overrides.sassindex cca68d82dbd..c349156b41c 100644--- a/frontend/src/global_styles/primer/_overrides.sass+++ b/frontend/src/global_styles/primer/_overrides.sass@@ -49,7 +49,6 @@scroll-behavior: smooth/* Remove margin-left: 2rem from Breadcrumbs */-#breadcrumb,page-header,sub-header,.op-work-package-details-tab-component,@@ -64,11 +63,6 @@ ul.SegmentedControl,.Box > ul:not(.op-uc-list)margin-left: 0-#breadcrumb- .breadcrumb-item.breadcrumb-item-selected- a- pointer-events: none-.op-primer-adjustments__toggle-switch--hidden-loading-indicator.ToggleSwitch-statusIcondisplay: nonediff --git a/modules/auth_plugins/spec/views/base.html.erb_spec.rb b/modules/auth_plugins/spec/views/base.html.erb_spec.rbindex 4778e32fb69..afbea9119f9 100644--- a/modules/auth_plugins/spec/views/base.html.erb_spec.rb+++ b/modules/auth_plugins/spec/views/base.html.erb_spec.rb@@ -36,7 +36,6 @@ RSpec.describe "layouts/base" dobefore dowithout_partial_double_verification do- allow(view).to receive(:default_breadcrumb)allow(view).to receive_messages(current_menu_item: "overview", current_user: anonymous)endallow(OpenProject::Plugins::AuthPlugin).to receive(:providers).and_return([provider])diff --git a/modules/auth_saml/app/controllers/saml/providers_controller.rb b/modules/auth_saml/app/controllers/saml/providers_controller.rbindex 6d10e816a99..d9a06212265 100644--- a/modules/auth_saml/app/controllers/saml/providers_controller.rb+++ b/modules/auth_saml/app/controllers/saml/providers_controller.rb@@ -144,12 +144,6 @@ module Samlredirect_to action: :index unless EnterpriseToken.allows_to?(:sso_auth_providers)end- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-def update_provider_metadata_callSaml::Providers::UpdateService.new(model: @provider, user: User.current)diff --git a/modules/backlogs/app/controllers/backlogs_settings_controller.rb b/modules/backlogs/app/controllers/backlogs_settings_controller.rbindex 8ff424e97c5..682005602dc 100644--- a/modules/backlogs/app/controllers/backlogs_settings_controller.rb+++ b/modules/backlogs/app/controllers/backlogs_settings_controller.rb@@ -42,12 +42,6 @@ class BacklogsSettingsController < ApplicationControllerredirect_to action: :showend- def show_local_breadcrumb- false- end-- def default_breadcrumb; end-privatedef check_valid_settingsdiff --git a/modules/backlogs/app/controllers/rb_master_backlogs_controller.rb b/modules/backlogs/app/controllers/rb_master_backlogs_controller.rbindex 3017cb81e49..0602221ec5d 100644--- a/modules/backlogs/app/controllers/rb_master_backlogs_controller.rb+++ b/modules/backlogs/app/controllers/rb_master_backlogs_controller.rb@@ -35,10 +35,4 @@ class RbMasterBacklogsController < RbApplicationController@last_update = (@sprint_backlogs + @owner_backlogs).filter_map(&:updated_at).maxend-- private-- def default_breadcrumb- I18n.t(:label_backlogs)- endenddiff --git a/modules/backlogs/app/controllers/rb_taskboards_controller.rb b/modules/backlogs/app/controllers/rb_taskboards_controller.rbindex 57e7b4311ce..73cda7f7b90 100644--- a/modules/backlogs/app/controllers/rb_taskboards_controller.rb+++ b/modules/backlogs/app/controllers/rb_taskboards_controller.rb@@ -38,8 +38,4 @@ class RbTaskboardsController < RbApplicationController.order(Arel.sql("updated_at DESC")).firstend-- def default_breadcrumb- I18n.t(:label_backlogs)- endenddiff --git a/modules/boards/app/controllers/boards/boards_controller.rb b/modules/boards/app/controllers/boards/boards_controller.rbindex a39108f49f6..f8b130a4e4a 100644--- a/modules/boards/app/controllers/boards/boards_controller.rb+++ b/modules/boards/app/controllers/boards/boards_controller.rb@@ -23,12 +23,6 @@ module ::Boardsrender layout: "angular/angular"end- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-def new; enddef creatediff --git a/modules/costs/app/controllers/admin/cost_types_controller.rb b/modules/costs/app/controllers/admin/cost_types_controller.rbindex cc6cf118847..384efe9e95f 100644--- a/modules/costs/app/controllers/admin/cost_types_controller.rb+++ b/modules/costs/app/controllers/admin/cost_types_controller.rb@@ -152,9 +152,5 @@ module Admindef find_cost_type@cost_type = CostType.find(params[:id])end-- def show_local_breadcrumb- false- endendenddiff --git a/modules/costs/app/controllers/my/time_tracking_controller.rb b/modules/costs/app/controllers/my/time_tracking_controller.rbindex acd1a945dfb..512c48ce3ce 100644--- a/modules/costs/app/controllers/my/time_tracking_controller.rb+++ b/modules/costs/app/controllers/my/time_tracking_controller.rb@@ -142,11 +142,5 @@ module Mydef mobile?browser.device.mobile?end-- def default_breadcrumb; end-- def show_local_breadcrumb- false- endendenddiff --git a/modules/gantt/app/controllers/gantt/gantt_controller.rb b/modules/gantt/app/controllers/gantt/gantt_controller.rbindex 3b75bcfbc59..45d3c1b7b48 100644--- a/modules/gantt/app/controllers/gantt/gantt_controller.rb+++ b/modules/gantt/app/controllers/gantt/gantt_controller.rb@@ -44,11 +44,5 @@ module ::Ganttendendend-- private-- def default_breadcrumb- t(:label_gantt_chart_plural)- endendenddiff --git a/modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rb b/modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rbindex 3df60f92b0a..9d8849266fd 100644--- a/modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rb+++ b/modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rb@@ -87,11 +87,5 @@ module LdapGroups.require(:synchronized_filter).permit(:filter_string, :name, :ldap_auth_source_id, :group_name_attribute, :sync_users, :base_dn)end-- def default_breadcrumb; end-- def show_local_breadcrumb- false- endendenddiff --git a/modules/ldap_groups/app/controllers/ldap_groups/synchronized_groups_controller.rb b/modules/ldap_groups/app/controllers/ldap_groups/synchronized_groups_controller.rbindex 21431035e27..abe35e34cee 100644--- a/modules/ldap_groups/app/controllers/ldap_groups/synchronized_groups_controller.rb+++ b/modules/ldap_groups/app/controllers/ldap_groups/synchronized_groups_controller.rb@@ -66,11 +66,5 @@ module LdapGroups.require(:synchronized_group).permit(:dn, :group_id, :ldap_auth_source_id, :sync_users)end-- def default_breadcrumb; end-- def show_local_breadcrumb- false- endendenddiff --git a/modules/meeting/app/controllers/recurring_meetings/schedule_controller.rb b/modules/meeting/app/controllers/recurring_meetings/schedule_controller.rbindex 70f9cbff591..0612ef28ce4 100644--- a/modules/meeting/app/controllers/recurring_meetings/schedule_controller.rb+++ b/modules/meeting/app/controllers/recurring_meetings/schedule_controller.rb@@ -32,7 +32,5 @@ module RecurringMeetings.require(:meeting).permit(:start_date, :start_time_hour, :frequency, :interval)end-- def default_breadcrumb; endendenddiff --git a/modules/my_page/app/controllers/my/page_controller.rb b/modules/my_page/app/controllers/my/page_controller.rbindex ae831523b4e..bf346ed7088 100644--- a/modules/my_page/app/controllers/my/page_controller.rb+++ b/modules/my_page/app/controllers/my/page_controller.rb@@ -43,9 +43,5 @@ module Myendendend-- def default_breadcrumb- t("js.my_page.label")- endendenddiff --git a/modules/openid_connect/app/controllers/openid_connect/providers_controller.rb b/modules/openid_connect/app/controllers/openid_connect/providers_controller.rbindex 88d6c36c5f8..978f9b629a8 100644--- a/modules/openid_connect/app/controllers/openid_connect/providers_controller.rb+++ b/modules/openid_connect/app/controllers/openid_connect/providers_controller.rb@@ -130,12 +130,6 @@ module OpenIDConnect@provider = OpenIDConnect::Provider.find(params[:id])end- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-def successful_save_responserespond_to do |format|format.turbo_stream dodiff --git a/modules/openid_connect/app/views/openid_connect/providers/edit.html.erb b/modules/openid_connect/app/views/openid_connect/providers/edit.html.erbindex 7df3ff9778c..52f4e74f109 100644--- a/modules/openid_connect/app/views/openid_connect/providers/edit.html.erb+++ b/modules/openid_connect/app/views/openid_connect/providers/edit.html.erb@@ -1,5 +1,4 @@<% page_title = t("openid_connect.providers.label_edit", name: @provider.display_name) %>-<% local_assigns[:additional_breadcrumb] = @provider.display_name %><% html_title(t(:label_administration), page_title) -%>diff --git a/modules/recaptcha/app/controllers/recaptcha/admin_controller.rb b/modules/recaptcha/app/controllers/recaptcha/admin_controller.rbindex 9a5e895dbfa..7efd39fead8 100644--- a/modules/recaptcha/app/controllers/recaptcha/admin_controller.rb+++ b/modules/recaptcha/app/controllers/recaptcha/admin_controller.rb@@ -34,11 +34,5 @@ module ::Recaptchadef permitted_paramsparams.permit(:recaptcha_type, :website_key, :secret_key, :response_limit)end-- def default_breadcrumb; end-- def show_local_breadcrumb- false- endendenddiff --git a/modules/recaptcha/app/views/recaptcha/request/perform.html.erb b/modules/recaptcha/app/views/recaptcha/request/perform.html.erbindex c110d632950..8e7cf27be13 100644--- a/modules/recaptcha/app/views/recaptcha/request/perform.html.erb+++ b/modules/recaptcha/app/views/recaptcha/request/perform.html.erb@@ -1,5 +1,4 @@<% html_title t("recaptcha.label_recaptcha") %>-<% breadcrumb_paths(t("recaptcha.label_recaptcha")) %><div id="login-form" class="form -bordered"><h2 class="mb-3"><%= t "recaptcha.verify_account" %></h2><%= styled_form_tag({ action: :verify }, { autocomplete: "off", id: "submit_captcha" }) do %>diff --git a/modules/storages/app/controllers/storages/admin/access_management_controller.rb b/modules/storages/app/controllers/storages/admin/access_management_controller.rbindex 66f4c0bcff4..73920f5d4c9 100644--- a/modules/storages/app/controllers/storages/admin/access_management_controller.rb+++ b/modules/storages/app/controllers/storages/admin/access_management_controller.rb@@ -86,14 +86,6 @@ class Storages::Admin::AccessManagementController < ApplicationControllerrespond_with_turbo_streamsend- def default_breadcrumb- ActionController::Base.helpers.link_to(t(:project_module_storages), admin_settings_storages_path)- end-- def show_local_breadcrumb- true- end-privatedef find_model_object(object_id = :storage_id)diff --git a/modules/storages/app/controllers/storages/admin/automatically_managed_project_folders_controller.rb b/modules/storages/app/controllers/storages/admin/automatically_managed_project_folders_controller.rbindex c17eff8a72c..2044430a9e8 100644--- a/modules/storages/app/controllers/storages/admin/automatically_managed_project_folders_controller.rb+++ b/modules/storages/app/controllers/storages/admin/automatically_managed_project_folders_controller.rb@@ -105,19 +105,6 @@ class Storages::Admin::AutomaticallyManagedProjectFoldersController < Applicatioendend- # Used by: admin layout- # Breadcrumbs is something like OpenProject > Admin > Storages.- # This returns the name of the last part (Storages admin page)- def default_breadcrumb- ActionController::Base.helpers.link_to(t(:project_module_storages), admin_settings_storages_path)- end-- # See: default_breadcrum above- # Defines whether to show breadcrumbs on the page or not.- def show_local_breadcrumb- true- end-privatedef respond_with_ampf_form_turbo_stream_or_edit_htmldiff --git a/modules/storages/app/controllers/storages/admin/oauth_clients_controller.rb b/modules/storages/app/controllers/storages/admin/oauth_clients_controller.rbindex 9be0c0cfea9..df06347fa39 100644--- a/modules/storages/app/controllers/storages/admin/oauth_clients_controller.rb+++ b/modules/storages/app/controllers/storages/admin/oauth_clients_controller.rb@@ -91,19 +91,6 @@ class Storages::Admin::OAuthClientsController < ApplicationControllerendend- # Used by: admin layout- # Breadcrumbs is something like OpenProject > Admin > Storages.- # This returns the name of the last part (Storages admin page)- def default_breadcrumb- ActionController::Base.helpers.link_to(t(:project_module_storages), admin_settings_storages_path)- end-- # See: default_breadcrumb above- # Defines whether to show breadcrumbs on the page or not.- def show_local_breadcrumb- true- end-def show_redirect_urirespond_to do |format|format.html { render layout: false }diff --git a/modules/storages/app/controllers/storages/admin/storages_controller.rb b/modules/storages/app/controllers/storages/admin/storages_controller.rbindex 6d99142e0a8..95c87db6bb3 100644--- a/modules/storages/app/controllers/storages/admin/storages_controller.rb+++ b/modules/storages/app/controllers/storages/admin/storages_controller.rb@@ -213,12 +213,6 @@ class Storages::Admin::StoragesController < ApplicationControllerendend- def default_breadcrumb; end-- def show_local_breadcrumb- false- end-privatedef prepare_storage_for_access_management_formdiff --git a/modules/storages/app/controllers/storages/project_settings/project_storage_members_controller.rb b/modules/storages/app/controllers/storages/project_settings/project_storage_members_controller.rbindex 9c8714ca770..5b20e7b368c 100644--- a/modules/storages/app/controllers/storages/project_settings/project_storage_members_controller.rb+++ b/modules/storages/app/controllers/storages/project_settings/project_storage_members_controller.rb@@ -51,14 +51,6 @@ class Storages::ProjectSettings::ProjectStorageMembersController < Projects::Setrender "/storages/project_settings/project_storage_members/index"end- def default_breadcrumb- t(:"storages.page_titles.project_settings.members_connection_status")- end-- def show_local_breadcrumb- true- end-privatedef find_model_object(object_id = :project_storage_id)diff --git a/modules/two_factor_authentication/app/controllers/two_factor_authentication/base_controller.rb b/modules/two_factor_authentication/app/controllers/two_factor_authentication/base_controller.rbindex 8f0b56ed9ce..70ca7017fe2 100644--- a/modules/two_factor_authentication/app/controllers/two_factor_authentication/base_controller.rb+++ b/modules/two_factor_authentication/app/controllers/two_factor_authentication/base_controller.rb@@ -239,14 +239,6 @@ module ::TwoFactorAuthenticationcurrent_userend- def show_local_breadcrumb- true- end-- def default_breadcrumb- t("two_factor_authentication.label_devices")- end-def available_devicesstrategy_manager.available_devicesenddiff --git a/modules/two_factor_authentication/app/controllers/two_factor_authentication/forced_registration/two_factor_devices_controller.rb b/modules/two_factor_authentication/app/controllers/two_factor_authentication/forced_registration/two_factor_devices_controller.rbindex a48d1f42934..5f1667d4a28 100644--- a/modules/two_factor_authentication/app/controllers/two_factor_authentication/forced_registration/two_factor_devices_controller.rb+++ b/modules/two_factor_authentication/app/controllers/two_factor_authentication/forced_registration/two_factor_devices_controller.rb@@ -64,10 +64,6 @@ module ::TwoFactorAuthentication@authenticated_userend- def show_local_breadcrumb- false- end-def index_pathtwo_factor_authentication_request_pathenddiff --git a/modules/two_factor_authentication/app/controllers/two_factor_authentication/my/two_factor_devices_controller.rb b/modules/two_factor_authentication/app/controllers/two_factor_authentication/my/two_factor_devices_controller.rbindex 3ad91c8bff6..5276fe1bb8e 100644--- a/modules/two_factor_authentication/app/controllers/two_factor_authentication/my/two_factor_devices_controller.rb+++ b/modules/two_factor_authentication/app/controllers/two_factor_authentication/my/two_factor_devices_controller.rb@@ -112,10 +112,6 @@ module ::TwoFactorAuthenticationurl_for action: :indexend- def show_local_breadcrumb- false- end-def registration_success_pathurl_for(action: :index)enddiff --git a/modules/two_factor_authentication/app/controllers/two_factor_authentication/two_factor_settings_controller.rb b/modules/two_factor_authentication/app/controllers/two_factor_authentication/two_factor_settings_controller.rbindex f15550a793a..15f90b972ef 100644--- a/modules/two_factor_authentication/app/controllers/two_factor_authentication/two_factor_settings_controller.rb+++ b/modules/two_factor_authentication/app/controllers/two_factor_authentication/two_factor_settings_controller.rb@@ -58,11 +58,5 @@ module ::TwoFactorAuthenticationdef manager::OpenProject::TwoFactorAuthentication::TokenStrategyManagerend-- def default_breadcrumb; end-- def show_local_breadcrumb- false- endendenddiff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erbindex 312ded919a7..5b3b7b58a55 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb@@ -1,5 +1,4 @@<% html_title t(:field_otp) %>-<% breadcrumb_paths(t(:field_otp)) %><div id="login-form" class="form -bordered"><%= styled_form_tag({ action: :verify_backup_code }, { autocomplete: "off", id: "submit_backup_code" }) do %><h2><%= t "two_factor_authentication.login.enter_backup_code_title" %></h2>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erbindex 5b68ac40d10..52f5b6589a2 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb@@ -2,7 +2,6 @@<% has_other_devices = @active_devices.count > 1 %><% has_backup_codes = @authenticated_user.otp_backup_codes.exists? %><% html_title t(:field_otp) %>-<% breadcrumb_paths(t(:field_otp)) %><div id="login-form"class="form -bordered"data-controller="two-factor-authentication"diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erbindex 61c8caba64a..faee2633664 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb@@ -1,6 +1,4 @@<% html_title(t(:label_my_account), t("two_factor_authentication.devices.confirm_device")) -%>-<% breadcrumb_paths link_to(t("two_factor_authentication.label_two_factor_authentication"), index_path),- t("two_factor_authentication.devices.confirm_device") -%><%= styled_form_tag(confirm_path, method: :post, id: "login-form", class: "form -bordered", autocomplete: "off") do %><h2><%= t("two_factor_authentication.devices.confirm_device") %></h2>diff --git a/modules/webhooks/app/controllers/webhooks/outgoing/admin_controller.rb b/modules/webhooks/app/controllers/webhooks/outgoing/admin_controller.rbindex 95bdb27ebd4..8fdf84de1dc 100644--- a/modules/webhooks/app/controllers/webhooks/outgoing/admin_controller.rb+++ b/modules/webhooks/app/controllers/webhooks/outgoing/admin_controller.rb@@ -70,12 +70,6 @@ module Webhooks.permit(:name, :description, :url, :secret, :enabled,:project_ids, selected_project_ids: [], events: [])end-- def show_local_breadcrumb- false- end-- def default_breadcrumb; endendendenddiff --git a/spec/views/layouts/admin.html.erb_spec.rb b/spec/views/layouts/admin.html.erb_spec.rbindex 5b19b3592bd..4139d4c23f9 100644--- a/spec/views/layouts/admin.html.erb_spec.rb+++ b/spec/views/layouts/admin.html.erb_spec.rb@@ -36,7 +36,6 @@ RSpec.describe "layouts/admin" dobefore dowithout_partial_double_verification do- allow(view).to receive(:default_breadcrumb)parent_menu_item = Object.newallow(parent_menu_item).to receive(:name).and_return :rootdiff --git a/spec/views/layouts/base.html.erb_spec.rb b/spec/views/layouts/base.html.erb_spec.rbindex c7468255e89..c32b8944ca7 100644--- a/spec/views/layouts/base.html.erb_spec.rb+++ b/spec/views/layouts/base.html.erb_spec.rb@@ -42,7 +42,6 @@ RSpec.describe "layouts/base" dobefore dowithout_partial_double_verification do- allow(view).to receive(:default_breadcrumb)allow(controller).to receive(:default_search_scope)allow(view).to receive(:render_to_string)allow(view).to receive_messages(current_menu_item: "overview", current_user:)