require "coffee-script" require "sass" require "sinatra/base" require "slim" module Mado class App < Sinatra::Base set :root, File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "app")) configure :development do require "sinatra/reloader" register Sinatra::Reloader end get '/' do slim :index end get "/css/application.css" do sass :application end get "/js/application.js" do coffee :application end end end