Sha256: 21f7213dc2f2a500e433bca8b2f86b88c77451516ef1f126f8feed3ceb4e19ba

Contents?: true

Size: 375 Bytes

Versions: 9

Compression:

Stored size: 375 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'sinatra'
require File.join(File.dirname(__FILE__), 'environment')

configure do
  set :views, "#{File.dirname(__FILE__)}/views"
end

error do
  e = request.env['sinatra.error']
  Kernel.puts e.backtrace.join("\n")
  'Application error'
end

helpers do
  # add your helpers here
end

# root page
get '/' do
  haml :root
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
codesake-dawn-0.85 spec/support/sinatra-safe/application.rb
codesake-dawn-0.80.0 spec/support/sinatra-safe/application.rb
codesake-dawn-0.79.99 spec/support/sinatra-safe/application.rb
codesake-dawn-0.77 spec/support/sinatra-safe/application.rb
codesake-dawn-0.75 spec/support/sinatra-safe/application.rb
codesake-dawn-0.72 spec/support/sinatra-safe/application.rb
codesake-dawn-0.70 spec/support/sinatra-safe/application.rb
codesake-dawn-0.60 spec/support/sinatra-safe/application.rb
codesake-dawn-0.50 spec/support/sinatra-safe/application.rb