16 lines
245 B
Ruby
16 lines
245 B
Ruby
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
|