aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedricnjanga2017-12-21 12:49:00 +0100
committercedricnjanga2017-12-21 14:00:25 +0100
commitec0b3a8c6a89e65d5500369ac4b3da0cd1dfa4e5 (patch)
tree162bc323a8169c720f1d278f309e7b95815c1279
parentdc520dd4dc445f979507f0aecc5f6b4a095be963 (diff)
downloadchouette-core-ec0b3a8c6a89e65d5500369ac4b3da0cd1dfa4e5.tar.bz2
Refs #4838 Add number of controls in ComplianceControlSet#index
-rw-r--r--app/views/compliance_control_sets/index.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/compliance_control_sets/index.html.slim b/app/views/compliance_control_sets/index.html.slim
index 2a5651280..28d2254bf 100644
--- a/app/views/compliance_control_sets/index.html.slim
+++ b/app/views/compliance_control_sets/index.html.slim
@@ -30,7 +30,7 @@
), \
TableBuilderHelper::Column.new( \
key: :control_numbers, \
- attribute: 'control_numbers' \
+ attribute: Proc.new {|n| n.compliance_controls.count }\
), \
TableBuilderHelper::Column.new( \
key: :updated_at, \