This will become a rails application as client for LXD.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
343 B

class DashboardController < ApplicationController
def index
@hosts = Host.all
# @hosts.map { |host|
# if host.connected and not host.authenticated
# session[:return_to] = request.env["REQUEST_URI"]
# redirect_to controller: 'hosts', action: 'auth', id: host.id
# end
# }
end
end
# vim: set et ts=2 sw=2: