Class: Dradis::Plugins::Calculators::MITRE::BaseController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/dradis/plugins/calculators/mitre/base_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
6
7
# File 'app/controllers/dradis/plugins/calculators/mitre/base_controller.rb', line 3

def index
  @issue_fields = Dradis::Plugins::Calculators::MITRE::V1::FIELDS.map do |field|
    "#[#{field}]#\nN/A"
  end.join("\n\n")
end