webdap/app/controllers/index.rb

16 lines
237 B
Ruby
Raw Permalink Normal View History

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