This commit is contained in:
kyg516
2016-09-14 17:54:30 +09:00
parent b97c484ff8
commit 40682aaec4
9 changed files with 86 additions and 119 deletions

View File

@@ -0,0 +1,15 @@
class NodeController < ApplicationController
def index
@hosts = Array.new
if get_hosts.blank?
flash[:danger] = "Check Server"
else
@hosts = get_hosts
end
end
def get_hosts
return ['2', 'aaa', 'bbb', 'ccc']
end
end