Mirror of Github Repo. https://github.com/flockingbird/roost
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.

config.ru 519B

1234567891011121314151617181920212223242526
  1. # frozen_string_literal: true
  2. $LOAD_PATH << '.'
  3. require 'sinatra/base'
  4. require 'config/environment'
  5. require 'config/database'
  6. require 'app/web/server'
  7. use Web::HomeController
  8. use Web::ProfilesController
  9. use Web::TagsController
  10. use Web::LoginController
  11. # TODO: change from RPC alike "register" to "registration"
  12. use Web::RegistrationsController
  13. use Web::ConfirmationsController
  14. use Web::MyProfilesController
  15. use Web::ContactsController
  16. use Web::UpdatesController
  17. use Api::ApiController
  18. run ApplicationController