diff options
| author | Guillaume | 2017-11-08 14:44:36 +0100 |
|---|---|---|
| committer | Guillaume | 2017-11-08 14:44:36 +0100 |
| commit | 3f8b085393351ed190cf071833d877dc5ea95946 (patch) | |
| tree | 265ee2e3124406d4ca4107ea882781255a11a5d2 /app/controllers/referentials_controller.rb | |
| parent | 87642d0d28328f0e6e3a1928d6b6edbcdab72f4a (diff) | |
| download | chouette-core-3f8b085393351ed190cf071833d877dc5ea95946.tar.bz2 | |
filter compliance_control_set by organisation on valisate referential and add specs
Diffstat (limited to 'app/controllers/referentials_controller.rb')
| -rw-r--r-- | app/controllers/referentials_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb index b08f58514..b63741ef6 100644 --- a/app/controllers/referentials_controller.rb +++ b/app/controllers/referentials_controller.rb @@ -55,7 +55,7 @@ class ReferentialsController < InheritedResources::Base end def select_compliance_control_set - @compliance_control_sets = ComplianceControlSet.all + @compliance_control_sets = ComplianceControlSet.where(organisation: current_organisation) end def validate |
