diff options
| author | Guillaume | 2017-11-22 14:55:05 +0100 | 
|---|---|---|
| committer | Guillaume | 2017-11-22 14:55:05 +0100 | 
| commit | cf8c8352bd4b5493c3e1cdfb8ea27c78ac9abab0 (patch) | |
| tree | f03ad3aae1427a560c09a443b88fc23a4c2c8265 /app/controllers | |
| parent | acb37189bea8e0bd2c36d9b02042a8e3ee5bb238 (diff) | |
| download | chouette-core-cf8c8352bd4b5493c3e1cdfb8ea27c78ac9abab0.tar.bz2 | |
Refs #4987 create compliance_check_sets#show
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/compliance_check_sets_controller.rb | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/compliance_check_sets_controller.rb b/app/controllers/compliance_check_sets_controller.rb index 175c22191..776275d52 100644 --- a/app/controllers/compliance_check_sets_controller.rb +++ b/app/controllers/compliance_check_sets_controller.rb @@ -19,6 +19,14 @@ class ComplianceCheckSetsController < InheritedResources::Base      end    end +  def show +    show! do +      @compliance_check_set = @compliance_check_set.decorate(context: { +        compliance_check_set: @compliance_check_set +      }) +    end +  end +    def executed      show! do |format|         # But now nobody is aware anymore that `format.html` passes a parameter into the block  | 
