Skip to content

Commit

Permalink
making passenger happy
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed May 10, 2009
1 parent 9db49f3 commit 2ee14ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%w(rubygems rack rack-flash me).each { |l| require l }

use Rack::ShowExceptions
use Rack::Reloader
#use Rack::Reloader
use Rack::Session::Cookie
use Rack::Flash, :accessorize => [:notice]
run Me
5 changes: 4 additions & 1 deletion me.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
%w(sinatra/base pony).each { |l| require l }
%w(sinatra/base haml pony).each { |l| require l }

class Me < Sinatra::Base

EMAIL = ENV['email']

set :root, File.dirname(__FILE__)
set :app_file, __FILE__

get '/' do
haml :index
end
Expand Down

0 comments on commit 2ee14ba

Please sign in to comment.