Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 459 Bytes
require 'rubygems'
require 'sinatra'
require 'sass'
set :views, ['app/views']
set :static, true
helpers do
def stylesheet_link_tag(name)
"<link href='/stylesheets/#{name}.css' media='all' rel='Stylesheet' type='text/css' />"
end
end
get '/' do
erb :"flutie/styleguides/show", :layout => :"layouts/flutie"
end
get '/stylesheets/flutie.css' do
content_type 'text/css', :charset => 'utf-8'
scss :_flutie, :views => 'app/assets/stylesheets'
end
Something went wrong with that request. Please try again.