Sha256: e5343f7c7aa01c68dfb4d299bc59eadb7900a2bf33c869ffef0ee1298cfe8630

Contents?: true

Size: 299 Bytes

Versions: 13

Compression:

Stored size: 299 Bytes

Contents

require 'mdwa/dsl'
class Mdwa::RequirementsController < Mdwa::MDWAController
  
  def index
    # reload the requirements
    MDWA::DSL.requirements.clear 
    
    Dir.glob("#{MDWA::DSL::REQUIREMENTS_PATH}/*.rb").each { |file| load file }
    @requirements = MDWA::DSL.requirements.all
  end
  
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mdd-3.1.0 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.20 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.19 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.18 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.17 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.16 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.15 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.14 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.13 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.10 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.9 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.8 app/controllers/mdwa/requirements_controller.rb
mdd-3.0.7 app/controllers/mdwa/requirements_controller.rb