aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorZog2018-05-03 09:17:31 +0200
committerZog2018-05-03 09:22:10 +0200
commit6f7865568e74f8268d067c4f961ece9dd4a76d41 (patch)
tree331ccb6f06d8d1251223a16c4b347aa255ef9ac3 /app
parentb44aeae726ad588edb3bfffe5bbaa1bde3b71f04 (diff)
downloadchouette-core-6f7865568e74f8268d067c4f961ece9dd4a76d41.tar.bz2
Refs #6921; Show "Unarchive" action in referentials list
Diffstat (limited to 'app')
-rw-r--r--app/decorators/referential_decorator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/decorators/referential_decorator.rb b/app/decorators/referential_decorator.rb
index e01987e59..db6261120 100644
--- a/app/decorators/referential_decorator.rb
+++ b/app/decorators/referential_decorator.rb
@@ -36,7 +36,7 @@ class ReferentialDecorator < AF83::Decorator
l.method :put
end
- instance_decorator.action_link policy: :unarchive, secondary: :show, on: :show do |l|
+ instance_decorator.action_link policy: :unarchive, secondary: :show do |l|
l.content t('actions.unarchive')
l.href { h.unarchive_referential_path(object.id) }
l.method :put