Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (11 sloc) 399 Bytes
# Require config/environment.rb
require ::File.expand_path('../config/environment', __FILE__)
set :app_file, __FILE__
configure do
# See: http://www.sinatrarb.com/faq.html#sessions
enable :sessions
set :session_secret, ENV['SESSION_SECRET'] || 'this is a secret shhhhh'
# Set the views to
set :views, File.join(Sinatra::Application.root, "app", "views")
end
run Sinatra::Application
Something went wrong with that request. Please try again.