2023-03-31 11:52:37 -04:00
|
|
|
# frozen_string_literal: true
|
2022-12-10 01:59:30 -05:00
|
|
|
|
2023-03-31 11:52:37 -04:00
|
|
|
class Webdap
|
|
|
|
# Handles top-level routes
|
|
|
|
class IndexController
|
|
|
|
|
|
|
|
get '/' do
|
|
|
|
erb :index, locals: {
|
|
|
|
title: 'Home',
|
2023-03-31 12:12:48 -04:00
|
|
|
server: $conf.get('ldap.server_url'),
|
2023-03-31 11:52:37 -04:00
|
|
|
}
|
|
|
|
end
|
2022-12-10 01:59:30 -05:00
|
|
|
|
2023-03-31 11:52:37 -04:00
|
|
|
end
|
2022-12-10 01:59:30 -05:00
|
|
|
end
|