Skip to content

Instantly share code, notes, and snippets.

@jcrosby
Created March 4, 2010 23:48
Show Gist options
  • Save jcrosby/322279 to your computer and use it in GitHub Desktop.
Save jcrosby/322279 to your computer and use it in GitHub Desktop.
require 'sinatra/base'
require 'sinatra/cloudkit'
class MyApp < Sinatra::Base
register Sinatra::CloudKit
set :admin_openid, 'http://joncrosby.me'
mount :todos, :groups, :archives
get '/myurl' do
erb :myview
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment