Sha256: a471fe43c1d92df0a75beaf4e197720e70f21fcff91b3d4fd08c08d58748c4f6
Contents?: true
Size: 611 Bytes
Versions: 6
Compression:
Stored size: 611 Bytes
Contents
module Dradis module Plugins module HtmlExport class ReportsController < Dradis::Plugins::Export::BaseController # This method cycles throw the notes in the reporting category and creates # a simple HTML report with them. # # It uses the template at: ./vendor/plugins/html_export/template.html.erb def create options = export_params.merge(template: @template_file) exporter = Dradis::Plugins::HtmlExport::Exporter.new(options) html = exporter.export render html: html.html_safe end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems