diff options
| author | Robert | 2017-07-04 15:01:12 +0200 | 
|---|---|---|
| committer | Robert | 2017-07-04 21:54:04 +0200 | 
| commit | cce302f6ea2252deb09973c8df8842c50349eb79 (patch) | |
| tree | 88568009b7ac9e2e11237ee5b38de52fe8994e78 /app/decorators | |
| parent | c48ad4fde3056ef04645b73f7eab54ff867d370c (diff) | |
| download | chouette-core-cce302f6ea2252deb09973c8df8842c50349eb79.tar.bz2 | |
Refs: #3478@1h; adapted table builder spex
Diffstat (limited to 'app/decorators')
| -rw-r--r-- | app/decorators/company_decorator.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/app/decorators/company_decorator.rb b/app/decorators/company_decorator.rb index 51c1f3c61..030952483 100644 --- a/app/decorators/company_decorator.rb +++ b/app/decorators/company_decorator.rb @@ -19,6 +19,8 @@ class CompanyDecorator < Draper::Decorator      links = []      if h.policy(Chouette::Company).create? +      require 'pry' +      binding.pry        links << Link.new(          content: h.t('companies.actions.new'),          href: h.new_line_referential_company_path(context[:line_referential])  | 
