Sha256: 67ddb554f82a979c8b14c6e7733673cbbf0332b819f1d1f939f71bf178f3dc6a

Contents?: true

Size: 263 Bytes

Versions: 5

Compression:

Stored size: 263 Bytes

Contents

require 'sinatra'
require 'haml'
require 'sass'
require 'cloudkit'

class Tasks < Sinatra::Default

  use CloudKit::Service, :collections => [:tasks]

  get '/' do
    haml :index
  end

  get '/stylesheets/:sheet.css' do
    sass :"#{params['sheet']}"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jim-0.3.3 test/fixtures/sammy-0.5.0/examples/backend/app.rb
jim-0.3.2 test/fixtures/sammy-0.5.0/examples/backend/app.rb
jim-0.3.1 test/fixtures/sammy-0.5.0/examples/backend/app.rb
jim-0.3.0 test/fixtures/sammy-0.5.0/examples/backend/app.rb
jim-0.3.0.pre test/fixtures/sammy-0.5.0/examples/backend/app.rb