diff options
| author | Luc Donnet | 2015-05-18 12:41:13 +0200 | 
|---|---|---|
| committer | Luc Donnet | 2015-05-18 12:41:13 +0200 | 
| commit | 3a997856387b2d50178c29c5bd728b133f2dcd84 (patch) | |
| tree | ff0af160b83933dc42aafc593cfa4f31befd0a0b /app/helpers/breadcrumb_helper.rb | |
| parent | 1ee52cce4c325a58368f3e28e8070f7b3bb4f4f2 (diff) | |
| download | chouette-core-3a997856387b2d50178c29c5bd728b133f2dcd84.tar.bz2 | |
Fix bugs Refs #0035525 #0035531 #0035523
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
| -rw-r--r-- | app/helpers/breadcrumb_helper.rb | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb index d99d4a068..ca7b7d946 100644 --- a/app/helpers/breadcrumb_helper.rb +++ b/app/helpers/breadcrumb_helper.rb @@ -137,6 +137,8 @@ module BreadcrumbHelper    def import_breadcrumb (action)      referential_breadcrumb       add_breadcrumb Referential.human_attribute_name("imports"), referential_imports_path(@referential) unless action == :index +    add_breadcrumb @rule_parameter_set.import.name, compliance_check_referential_import_path(@referential, @rule_parameter_set.import.id) if action == :rule_parameter_set +    add_breadcrumb @compliance_check.name, referential_import_path(@referential, @compliance_check.id) if action == :compliance_check    end    def export_breadcrumb (action) @@ -147,6 +149,7 @@ module BreadcrumbHelper    def compliance_check_breadcrumb (action)      referential_breadcrumb      add_breadcrumb Referential.human_attribute_name("compliance_checks"), referential_compliance_checks_path(@referential) unless action == :index +    add_breadcrumb @rule_parameter_set.compliance_check.name, referential_compliance_check_path(@referential, @rule_parameter_set.compliance_check.id) if action == :rule_parameter_set    end    def compliance_check_task_breadcrumb (action) | 
