aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/breadcrumb_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
-rw-r--r--app/helpers/breadcrumb_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb
index 89cb92633..34e013f8d 100644
--- a/app/helpers/breadcrumb_helper.rb
+++ b/app/helpers/breadcrumb_helper.rb
@@ -34,6 +34,8 @@ module BreadcrumbHelper
import_breadcrumb action
when "Export"
export_breadcrumb action
+ when "Validation"
+ validation_breadcrumb action
when "ComplianceCheckTask"
compliance_breadcrumb action
when "RuleParameterSet"
@@ -142,6 +144,11 @@ module BreadcrumbHelper
add_breadcrumb Referential.human_attribute_name("exports"), referential_exports_path(@referential) unless action == :index
end
+ def validation_breadcrumb (action)
+ referential_breadcrumb
+ add_breadcrumb Referential.human_attribute_name("validations"), referential_validations_path(@referential) unless action == :index
+ end
+
def compliance_breadcrumb (action)
referential_breadcrumb
add_breadcrumb Referential.human_attribute_name("compliance_check_tasks"), referential_compliance_check_tasks_path(@referential) unless action == :index