diff options
| -rw-r--r-- | app/decorators/referential_decorator.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/decorators/referential_decorator.rb b/app/decorators/referential_decorator.rb index b95b04f9f..a230b3d7f 100644 --- a/app/decorators/referential_decorator.rb +++ b/app/decorators/referential_decorator.rb @@ -16,6 +16,8 @@ class ReferentialDecorator < Draper::Decorator ) end + require 'pry' + binding.pry if h.policy(object).edit? if object.archived? |
