Skip to content

Commit

Permalink
Rack::Builder.app creates the rack app only once
Browse files Browse the repository at this point in the history
  • Loading branch information
machu committed May 21, 2013
1 parent 805f64c commit 45f1ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdiary/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
module TDiary
class Application
def initialize( base_dir = '' )
@app = ::Rack::Builder.new {
@app = ::Rack::Builder.app {
map "#{base_dir}/" do
use TDiary::Rack::HtmlAnchor
run ::Rack::Cascade.new([
Expand Down

0 comments on commit 45f1ac9

Please sign in to comment.