diff options
| author | Zakaria BOUZIANE | 2015-04-13 13:45:30 +0200 | 
|---|---|---|
| committer | Zakaria BOUZIANE | 2015-04-13 13:45:30 +0200 | 
| commit | 6f684fa9535ce87fc5dabc7dfbefd63517d3f2f9 (patch) | |
| tree | a13573514a0b493ecd163cfbc9e2482ca6c8eefe /app/helpers/breadcrumb_helper.rb | |
| parent | 77bb0938431a40088e7aba33afeba83adebd2b89 (diff) | |
| download | chouette-core-6f684fa9535ce87fc5dabc7dfbefd63517d3f2f9.tar.bz2 | |
Adding validation index and show
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
| -rw-r--r-- | app/helpers/breadcrumb_helper.rb | 7 | 
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 | 
