Sha256: 5e4993ea10819eae7acf321bdf42d1193d82894b9496a4420569b285a6e68c09

Contents?: true

Size: 284 Bytes

Versions: 7

Compression:

Stored size: 284 Bytes

Contents

class SassEngine < Sinatra::Base
  
  set :views,   File.dirname(__FILE__)    + '/stylesheets/scss'

   get '/stylesheets/flat_ui.css' do
    sass 'flat_ui/flat-ui'.to_sym
  end
  
  get '/stylesheets/*.css' do
    filename = params[:splat].first
    scss filename.to_sym
  end
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
git-visualiser-0.0.7 lib/application/sass_engine.rb
git-visualiser-0.0.6 lib/application/sass_engine.rb
git-visualiser-0.0.5 lib/application/sass_engine.rb
git-visualiser-0.0.4 lib/application/sass_engine.rb
git-visualiser-0.0.3 lib/application/sass_engine.rb
git-visualiser-0.0.2 lib/application/sass_engine.rb
git-visualiser-0.0.1 lib/application/sass_engine.rb