diff options
| author | Edouard Maffert | 2016-09-06 17:54:47 +0200 | 
|---|---|---|
| committer | Edouard Maffert | 2016-09-06 17:54:47 +0200 | 
| commit | 165202ba666686f341c6112d833b4a16e32a41e0 (patch) | |
| tree | 0088206a2763d1910411761e712a9f999f38021b /app/helpers/breadcrumb_helper.rb | |
| parent | 6a64a5e77e0fc7478c961175622fe8c940e91042 (diff) | |
| download | chouette-core-165202ba666686f341c6112d833b4a16e32a41e0.tar.bz2 | |
associate companies controller to line_referential and fix specs
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
| -rw-r--r-- | app/helpers/breadcrumb_helper.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb index 453c2c622..5eda227c8 100644 --- a/app/helpers/breadcrumb_helper.rb +++ b/app/helpers/breadcrumb_helper.rb @@ -162,8 +162,8 @@ module BreadcrumbHelper    def company_breadcrumb (action)      referential_breadcrumb -    add_breadcrumb Chouette::Company.model_name.human(:count => 2), referential_companies_path(@referential) unless action == :index -    add_breadcrumb breadcrumb_label(@company), referential_company_path(@referential, @company),:title => breadcrumb_tooltip(@company) if action == :edit +    add_breadcrumb Chouette::Company.model_name.human(:count => 2), line_referential_companies_path(@line_referential) unless action == :index +    add_breadcrumb breadcrumb_label(@company), line_referential_company_path(@line_referential, @company),:title => breadcrumb_tooltip(@company) if action == :edit    end    def import_breadcrumb (action) | 
