diff options
| author | cedricnjanga | 2018-02-28 23:48:47 -0800 |
|---|---|---|
| committer | cedricnjanga | 2018-02-28 23:48:47 -0800 |
| commit | 72312d258101d06c5f608502f5db1d258583924a (patch) | |
| tree | 6aab730bd53248ef99ae118ff152c7b1f29b51b8 /app/helpers | |
| parent | 4acb5a53da2995aacc7b6ce2c802ad16fa563bf8 (diff) | |
| download | chouette-core-72312d258101d06c5f608502f5db1d258583924a.tar.bz2 | |
Refs #6044 Add spec to check that CCSet#index only dislays objets from user orga6044_add_ccset_spec_affectation
- Small change in ComplianceControlSetsHelper#organisations_filters_values to avoid errors
- Add spec
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/compliance_control_sets_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/compliance_control_sets_helper.rb b/app/helpers/compliance_control_sets_helper.rb index 448d5c008..0c63cb139 100644 --- a/app/helpers/compliance_control_sets_helper.rb +++ b/app/helpers/compliance_control_sets_helper.rb @@ -1,7 +1,7 @@ module ComplianceControlSetsHelper def organisations_filters_values - [current_organisation, Organisation.find_by_name("STIF")].uniq + [current_organisation, *Organisation.find_by_name("STIF")].uniq end def floating_links ccs_id |
