diff options
| -rw-r--r-- | app/decorators/referential_decorator.rb | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/app/decorators/referential_decorator.rb b/app/decorators/referential_decorator.rb index 0863b7f4b..d75ad1050 100644 --- a/app/decorators/referential_decorator.rb +++ b/app/decorators/referential_decorator.rb @@ -12,6 +12,13 @@ class ReferentialDecorator < Draper::Decorator        )      end +    if has_feature?(:purchase_windows) +      links << Link.new( +        content: h.t('purchase_windows.index.title'), +        href: h.referential_purchase_windows_path(object) +      ) +    end +      links << Link.new(        content: h.t('time_tables.index.title'),        href: h.referential_time_tables_path(object)  | 
