test/fixtures/sammy-0.5.0/examples/backend/app.rb in jim-0.2.3 vs test/fixtures/sammy-0.5.0/examples/backend/app.rb in jim-0.3.0.pre
- old
+ new
@@ -2,16 +2,16 @@
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
\ No newline at end of file
+end