Skip to content

Commit

Permalink
Merge pull request adhearsion#609 from adhearsion/feature/tweak_defau…
Browse files Browse the repository at this point in the history
…lt_sinatra_config

Set Sinatra’s root to Adhearsion’s root
  • Loading branch information
bklang authored Aug 10, 2016
2 parents 2cf78dc + f156f9d commit b8692af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/adhearsion/generators/app/templates/config.ru
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require 'sinatra'

set :root, Adhearsion.root

get '/' do
'Hello world!'
end
Expand Down

0 comments on commit b8692af

Please sign in to comment.