aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-06-14 19:00:42 +0200
committerTeddy Wing2017-06-14 19:00:42 +0200
commitd7ab3b3c16a96092fa777e0c90d727a9bc5b0812 (patch)
treedfdd24f6758a0d607b8fb9ee5cf1a3a90aa07b5f
parenta7ead83aba3a3987feaab7ac8b4089a2caa324d3 (diff)
downloadchouette-core-d7ab3b3c16a96092fa777e0c90d727a9bc5b0812.tar.bz2
ReferentialDecorator: Add TODO
Refs #3479
-rw-r--r--app/decorators/referential_decorator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/decorators/referential_decorator.rb b/app/decorators/referential_decorator.rb
index 1c2347529..5112f9dd4 100644
--- a/app/decorators/referential_decorator.rb
+++ b/app/decorators/referential_decorator.rb
@@ -17,6 +17,7 @@ class ReferentialDecorator < Draper::Decorator
end
if h.policy(object).edit?
+ # TODO: Handle buttons in the header and don't show them in the gear menu
# button.btn.btn-primary type='button' data-toggle='modal' data-target='#purgeModal' Purger
if object.archived?