Skip to content

Commit

Permalink
Added a shorty.rb file to simplify the require in rack
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad Gessler committed May 20, 2009
1 parent 14dcab9 commit 0cdb0ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions config.ru
@@ -1,8 +1,5 @@
require 'rack/cascade'
require 'shorty/model.rb'
require 'shorty/root_redirect.rb'
require 'shorty/core.rb'
require 'shorty/ui.rb'
require 'shorty'

run Rack::Cascade.new([
Shorty::RootRedirect.new,
Expand Down
4 changes: 4 additions & 0 deletions shorty.rb
@@ -0,0 +1,4 @@
require 'shorty/model.rb'
require 'shorty/root_redirect.rb'
require 'shorty/core.rb'
require 'shorty/ui.rb'

0 comments on commit 0cdb0ca

Please sign in to comment.