16 lines
245 B
Plaintext
16 lines
245 B
Plaintext
|
require 'rubygems'
|
||
|
require 'sinatra/base'
|
||
|
|
||
|
require_relative 'app/settings.rb'
|
||
|
|
||
|
require_relative 'app/controllers/index.rb'
|
||
|
require_relative 'app/controllers/auth.rb'
|
||
|
|
||
|
map "/" do
|
||
|
run IndexController
|
||
|
end
|
||
|
|
||
|
map "/auth" do
|
||
|
run AuthController
|
||
|
end
|