diff options
| author | cedricnjanga | 2017-12-21 12:49:00 +0100 |
|---|---|---|
| committer | cedricnjanga | 2017-12-21 14:00:25 +0100 |
| commit | ec0b3a8c6a89e65d5500369ac4b3da0cd1dfa4e5 (patch) | |
| tree | 162bc323a8169c720f1d278f309e7b95815c1279 /app | |
| parent | dc520dd4dc445f979507f0aecc5f6b4a095be963 (diff) | |
| download | chouette-core-ec0b3a8c6a89e65d5500369ac4b3da0cd1dfa4e5.tar.bz2 | |
Refs #4838 Add number of controls in ComplianceControlSet#index
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/compliance_control_sets/index.html.slim | 2 |
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, \ |
