Permalink
Browse files

Use same file layout as rack-contrib's

  • Loading branch information...
1 parent 93d5eca commit 1396f99f6d0ffb864134f6a75634f61daf1c8827 @sr sr committed Feb 12, 2009
View
@@ -1,2 +0,0 @@
-# Let's get all those ditties playing together
-Dir[File.dirname(__FILE__) + "/ditties/*.rb"].each &method(:require)
View
@@ -0,0 +1,6 @@
+require "sinatra/base"
+
+module Sinatra
+ autoload :Authorization, File.dirname(__FILE__) + "/ditties/authorization"
+ autoload :Mailer, File.dirname(__FILE__) + "/ditties/mailer"
+end
File renamed without changes.
File renamed without changes.

0 comments on commit 1396f99

Please sign in to comment.