lib/smoke-rack.rb in smoke-rack-0.0.1 vs lib/smoke-rack.rb in smoke-rack-0.0.2
- old
+ new
@@ -1,9 +1,10 @@
require 'sinatra'
module Smoke
class Rack < Sinatra::Base
set :public, File.join(File.dirname(__FILE__), '..', 'public')
+ set :views, File.join(File.dirname(__FILE__), '..', 'views')
set :haml, {:format => :html5, :attr_wrapper => '"'}
enable :static
mime :xml, "application/xml"
mime :json, "application/json"