dashboard_controller.rb 343 Bytes
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: