diff options
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/breadcrumb_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb index 3c595f86b..aebd242be 100644 --- a/app/helpers/breadcrumb_helper.rb +++ b/app/helpers/breadcrumb_helper.rb @@ -56,6 +56,8 @@ module BreadcrumbHelper organisation_breadcrumb action when "Api::V1::ApiKey" referential_breadcrumb + when "OfferWorkbench" + offer_workbench_breadcrumb action else Rails.logger.info "---------" Rails.logger.info ">>>>>>> "+resource_class.to_s+" unmapped" @@ -64,6 +66,10 @@ module BreadcrumbHelper end end + def offer_workbench_breadcrumb(action) + add_breadcrumb I18n.t("breadcrumbs.referentials"), referentials_path + add_breadcrumb breadcrumb_label(@offer_workbench), offer_workbench_path(@offer_workbench), :title => breadcrumb_tooltip(@offer_workbench) + end def network_breadcrumb(action) referential_breadcrumb |
