Sha256: c67522ebe589cd1b791da648590c17c4f155c13a349f566409bc4665f31fc518

Contents?: true

Size: 237 Bytes

Versions: 4

Compression:

Stored size: 237 Bytes

Contents

require 'sinatra/base'

module RRDGrapher
  class ResourcesServer < Sinatra::Base
    set :root, File.dirname(__FILE__)
    
    get "/stylesheets/app.css" do
      content_type :css
      scss :"stylesheets/app"
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rrd-grapher-1.0.3 lib/rrd-grapher/resources.rb
rrd-grapher-1.0.2 lib/rrd-grapher/resources.rb
rrd-grapher-1.0.1 lib/rrd-grapher/resources.rb
rrd-grapher-1.0.0 lib/rrd-grapher/resources.rb