Skip to content

Commit

Permalink
Fixing some error stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
gus committed Jan 26, 2010
1 parent b3d3b68 commit 1e2b49f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Seota
class App < Sinatra::Base
set :root, File.dirname(__FILE__)
enable :dump_errors
# enable :dump_errors
enable :static

get("/") { haml(:index) }
Expand Down
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require 'app'
# AnimalCracker::AssetHost.configure({"asset_path" => File.dirname(__FILE__) + "/public"})

use Rack::ShowExceptions
use Rack::CommonLogger, File.new("#{File.dirname(__FILE__)}/log/#{env}.log", 'a+')
# use Rack::CommonLogger, File.new("#{File.dirname(__FILE__)}/log/#{env}.log", 'a+')

use Seota::App
run Sinatra::Base

0 comments on commit 1e2b49f

Please sign in to comment.