Skip to content

Commit

Permalink
Corrected config.ru file
Browse files Browse the repository at this point in the history
  • Loading branch information
leereilly committed May 18, 2011
1 parent 9a2c0bc commit efbfed7
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions config.ru
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
require 'rubygems'
require 'sinatra.rb'

# Sinatra defines #set at the top level as a way to set application configuration
set :views, File.join(File.dirname(__FILE__), 'app','views')
set :run, false
set :env, (ENV['RACK_ENV'] ? ENV['RACK_ENV'].to_sym : :development)

require 'app/main'
run Sinatra.application
require './app'
run Sinatra::Application

0 comments on commit efbfed7

Please sign in to comment.