Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (17 sloc) 0.432 kb
require 'sinatra/base'
require 'sinatra/content_for2'
require 'slim'
require 'coffee_script'
require 'sprockets'
# stuff in lib
require './lib/sprockets_sinatra_middleware'
module Namespace
class App < Sinatra::Base
helpers Sinatra::ContentFor2
set :root, File.dirname(__FILE__)
use ::SprocketsSinatraMiddleware, :root => settings.root, :path => 'assets'
get "/" do
slim :index
end
end
end
Jump to Line
Something went wrong with that request. Please try again.