Sha256: 9dc5acd2bf3406ad2906991ce301459c3e85f77b4030cd17539f91c004d7dfde
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 Bytes
Contents
$:.unshift File.expand_path('../../../lib', __FILE__) require 'sinatra/base' require 'sequel' require 'sinatra/backbone' class App < Sinatra::Base enable :raise_errors, :logging enable :show_exceptions if development? register Sinatra::JstPages serve_jst '/jst.js' set :root, File.expand_path('../', __FILE__) set :views, File.expand_path('../views', __FILE__) set :public, File.expand_path('../public', __FILE__) get '/' do erb :home end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
sinatra-backbone-2-0.1.1 | examples/jstpages/app.rb |
sinatra-backbone-0.1.1 | examples/jstpages/app.rb |