Created
June 25, 2009 18:23
-
-
Save trevrosen/136053 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Booting ---- | |
$: << File.join(File.dirname(__FILE__), 'lib') | |
$: << File.join(File.dirname(__FILE__), 'routes') | |
$: << File.join(File.dirname(__FILE__), 'helpers') | |
SINATRA_ROOT = File.expand_path(File.dirname((__FILE__))) unless defined? SINATRA_ROOT | |
require "rubygems" | |
require "sinatra" | |
require 'config/config' | |
# /Booting ---- | |
unless test? | |
# Enable the Rack::Flash middleware for Rails-esque Flash hashes | |
use Rack::Flash, :sweep => true | |
end | |
# Routes ---- | |
require "default_routes" | |
require "form_post_routes" | |
require "webex_routes" | |
require "one_off_routes" | |
# Helpers ---- | |
require "default_helpers" | |
require "stats_helpers" | |
require "webex_helpers" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment