diff options
| author | jpl | 2016-11-18 16:38:15 +0100 | 
|---|---|---|
| committer | jpl | 2016-11-18 16:38:15 +0100 | 
| commit | 11163e32ecd718d2e338deda8e3c11d7954f1ece (patch) | |
| tree | 729d8f74c71a1ca06ac889b3559b2a5e3768ee34 /app/helpers/breadcrumb_helper.rb | |
| parent | 37e2519ca0e0131a5b7ea7c3c7bf16833b15703f (diff) | |
| download | chouette-core-11163e32ecd718d2e338deda8e3c11d7954f1ece.tar.bz2 | |
Refs #1989: adding paginate to workbench refs + add_new link
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
| -rw-r--r-- | app/helpers/breadcrumb_helper.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb index 683036032..9d503fe2e 100644 --- a/app/helpers/breadcrumb_helper.rb +++ b/app/helpers/breadcrumb_helper.rb @@ -237,6 +237,10 @@ module BreadcrumbHelper    def referential_breadcrumb (action = :edit)      organisation_breadcrumb      if @referential +      if workbench = @referential.workbench +        add_breadcrumb breadcrumb_label(workbench), workbench_path(workbench), :title => breadcrumb_tooltip(workbench) +      end +        add_breadcrumb breadcrumb_label(@referential), referential_path(@referential),:title => breadcrumb_tooltip(@referential) if action == :edit || action == :show || action == :update      end    end | 
