Sha256: bf3e46bae120d74401609cfa630686417e9fa9706afcda6cba145853007f8708

Contents?: true

Size: 268 Bytes

Versions: 4

Compression:

Stored size: 268 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

4 entries across 4 versions & 1 rubygems

Version Path
jim-0.2.3 test/fixtures/sammy-0.5.0/examples/backend/app.rb
jim-0.2.2 test/fixtures/sammy-0.5.0/examples/backend/app.rb
jim-0.2.1 test/fixtures/sammy-0.5.0/examples/backend/app.rb
jim-0.2.0 test/fixtures/sammy-0.5.0/examples/backend/app.rb