diff options
| author | Zakaria BOUZIANE | 2015-04-28 14:39:50 +0200 | 
|---|---|---|
| committer | Zakaria BOUZIANE | 2015-04-28 14:39:50 +0200 | 
| commit | 25493ad2295ca41687fb9f08632585f22ce0b072 (patch) | |
| tree | a616ef1cac4b589ac896baa855b7afd8b363aea4 /app/helpers/breadcrumb_helper.rb | |
| parent | abdfb2c468c6267bcf3cdc335faa05132e5a6a2a (diff) | |
| download | chouette-core-25493ad2295ca41687fb9f08632585f22ce0b072.tar.bz2 | |
ComplianceCheckTask to ComplianceCheck
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
| -rw-r--r-- | app/helpers/breadcrumb_helper.rb | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb index 34e013f8d..d99d4a068 100644 --- a/app/helpers/breadcrumb_helper.rb +++ b/app/helpers/breadcrumb_helper.rb @@ -34,10 +34,10 @@ module BreadcrumbHelper        import_breadcrumb action      when "Export"        export_breadcrumb action -    when "Validation" -      validation_breadcrumb action +    when "ComplianceCheck" +      compliance_check_breadcrumb action      when "ComplianceCheckTask" -      compliance_breadcrumb action +      compliance_check_task_breadcrumb action      when "RuleParameterSet"        rule_parameter_breadcrumb action      when "User" @@ -144,12 +144,12 @@ module BreadcrumbHelper      add_breadcrumb Referential.human_attribute_name("exports"), referential_exports_path(@referential) unless action == :index    end -  def validation_breadcrumb (action) +  def compliance_check_breadcrumb (action)      referential_breadcrumb -    add_breadcrumb Referential.human_attribute_name("validations"), referential_validations_path(@referential) unless action == :index +    add_breadcrumb Referential.human_attribute_name("compliance_checks"), referential_compliance_checks_path(@referential) unless action == :index    end -  def compliance_breadcrumb (action) +  def compliance_check_task_breadcrumb (action)      referential_breadcrumb      add_breadcrumb Referential.human_attribute_name("compliance_check_tasks"), referential_compliance_check_tasks_path(@referential) unless action == :index      add_breadcrumb breadcrumb_label(@compliance_check_task), referential_compliance_check_task_path(@referential, @compliance_check_task),:title => breadcrumb_tooltip(@compliance_check_task) if action == :edit | 
