Skip to content

Commit

Permalink
disabling an unique router... more details here: hanami#30 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasas committed Aug 22, 2014
1 parent 9595369 commit 3c58d6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/lotus/routing/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ def initialize(options = {}, &blk)

def mount(app)
@app = app.new
@app.routes.each do |route|
@router.add_route(route)
end
@router.mount @app, at: "/"
end

def call(env)
Expand Down

0 comments on commit 3c58d6f

Please sign in to comment.