lib/carte/server.rb in carte-server-0.0.1 vs lib/carte/server.rb in carte-server-0.0.3
- old
+ new
@@ -5,9 +5,10 @@
require 'will_paginate_mongoid'
require 'carte/server/models'
module Carte
class Server < Sinatra::Base
+ use Rack::Deflater
register Sinatra::Namespace
include Carte::Server::Models
configure do
set :views, File.join(File.dirname(__FILE__), 'server/views')