diff options
Diffstat (limited to 'app/controllers/referentials_controller.rb')
| -rw-r--r-- | app/controllers/referentials_controller.rb | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb index 6b479e938..b08f58514 100644 --- a/app/controllers/referentials_controller.rb +++ b/app/controllers/referentials_controller.rb @@ -54,6 +54,16 @@ class ReferentialsController < InheritedResources::Base      end    end +  def select_compliance_control_set +    @compliance_control_sets = ComplianceControlSet.all +  end + +  def validate +    ComplianceControlSetCopyWorker.perform_async(params[:compliance_control_set], params[:id]) +    flash[:notice] = I18n.t("referentials.operation_in_progress") +    redirect_to(referential_path) +  end +    def destroy      workbench = referential.workbench_id | 
