Sha256: bb3a7003bd0041550c444f9a40c52f2892549fc6961db68e9416cfebe123adf5

Contents?: true

Size: 259 Bytes

Versions: 18

Compression:

Stored size: 259 Bytes

Contents

module Naf
  class StatusController < Naf::ApplicationController

    def index
      @machines = []
      ::Naf::Machine.where(enabled: true).all.each do |machine|
        @machines << ::Logical::Naf::Machine.new(machine).status
      end
    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
naf-2.1.13 app/controllers/naf/status_controller.rb
naf-2.1.12 app/controllers/naf/status_controller.rb
naf-2.1.11 app/controllers/naf/status_controller.rb
naf-2.1.10 app/controllers/naf/status_controller.rb
naf-2.1.9 app/controllers/naf/status_controller.rb
naf-2.1.8 app/controllers/naf/status_controller.rb
naf-2.1.6 app/controllers/naf/status_controller.rb
naf-2.1.5 app/controllers/naf/status_controller.rb
naf-2.1.4 app/controllers/naf/status_controller.rb
naf-2.1.3 app/controllers/naf/status_controller.rb
naf-2.1.2 app/controllers/naf/status_controller.rb
naf-2.1.1 app/controllers/naf/status_controller.rb
naf-2.1.0 app/controllers/naf/status_controller.rb
naf-2.0.4 app/controllers/naf/status_controller.rb
naf-2.0.3 app/controllers/naf/status_controller.rb
naf-2.0.2 app/controllers/naf/status_controller.rb
naf-2.0.1 app/controllers/naf/status_controller.rb
naf-2.0.0 app/controllers/naf/status_controller.rb